If you have a subscription to Office 365, chances are you
have OneDrive configured in your system and is linked to your email address.
OneDrive is quite good since you can have your data on the
cloud, of course you also have to use common sense and what data you are
uploading to the cloud.
OneDrive will come handy since you just need internet
connection and you will be able to retrieve your notes or data anywhere.
But how to check which email address is linked to your
OneDrive? Well, there' a simple way using PowerShell to view registry keys.
A one liner PowerShell script will come-in handy to do these
kind of task.
Here’s the code, if using Hotmail, or Li ve email:
(Get-ItemProperty -Path HKCU:\Software\Microsoft\OneDrive\Accounts\Personal -Name useremail).useremail
For OneDrive Business use this code:
(Get-ItemProperty -Path HKCU:\Software\Microsoft\OneDrive\Accounts\Business1 -Name useremail).useremail
Then the value set on the said registry path will be shown
and that would be the email address linked to the OneDrive account.
That's it, you can explore other properties of the registry using PowerShell by tweaking the above code.
Cheers..till next time. :)
================================
Free Android Apps:
Click links below to find out more:
Excel Keyboard guide:
Heaven's Dew Fall Prayer app for Android :
Catholic Rosary Guide for Android:
Comments
Post a Comment