Skip to content

Commit 7440aeb

Browse files
committed
2 parents b807c4a + eed2ee5 commit 7440aeb

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

Binaries/PowerShell/Readme.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
1-
Open PowerShell (it cannot be in elevated mode because of OneDrive design)
2-
Run this:
1+
**Open PowerShell (it cannot be in elevated mode because of OneDrive design)**
2+
3+
**Before running the first time, use this to unblock the DLL that you downloaded:**
4+
```
5+
PS C:\ODTool> Unblock-File -Path C:\ODTool\OneDriveLib.dll # change path if necessary
6+
```
7+
8+
**Run this:**
9+
```
310
Import-Module OneDriveLib.dll
411
Get-ODStatus
12+
```
513

6-
7-
This is an example of the output:
14+
**This is an example of the output:**
15+
```
816
PS C:\ODTool> Import-Module OneDriveLib.dll
917
PS C:\ODTool> Get-ODStatus
1018
@@ -19,5 +27,5 @@ LocalPath    : D:\Onedrive
1927
UserSID      : S-1-5-21-124000000-708000000-1543000000-802052
2028
UserName     : CONTOSO\rodneyviana
2129
ServiceType  : Personal
22-
30+
```
2331

0 commit comments

Comments
 (0)