Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

5 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
James
James
9 years ago

Hi. This is great, but we’re running into a problem where intermittently the script will error at line 462 as follows:

Exception from HRESULT: 0x800A01B6
At C:\temp\OneDriveMapper.ps1:462 char:8
+ if($ie.document.GetElementById(“_link”).tagName -ne $Null){
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (:) [], NotSupportedException
+ FullyQualifiedErrorId : System.NotSupportedException

Any suggestions as to what I should be looking for?

Thanks,
James

Girish
Girish
9 years ago

Hi I am using the script to map my One Drive for Business on my desktop. The scripts ends without error. But the drives are not mapped. I had look into the log file and it shows this. Please let me know how to solve it lookupUPNbySAM is set to True -> Using UPNlookup by SAMAccountName feature Script elevation level: Administrator Possible critical error: Microsoft Office installation not detected, script may fail NOTICE: HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Security HKLM only not found in registry, your zone configuration could be set on both levels Possible critical error: onevmw.sharepoint.com not found in IE Trusted Sites… Read more »