I have a script I use to map Office 365 document libraries and Onedrive to Quick Access links in Windows 10. This has worked well using Internet Explorer. Now that IE is going away I want to do the same with Chrome, but getting errors. Creating a Quick Access link to a o365 document library works, but when I try to do the same for OneDrive it gives and error. Even if I hardcode my name in the $env it still errors out.
Tonyd,
The first command runs fine. The second throws the error: InvalidOperation: Method invocation failed because [System.__ComObject] does not contain a method named 'InvokeVerb'.
If it’s OK with IE, the only thing I can suggest that might be affecting it is Trusted Sites; because that’s what the error I’m getting relates to when I try to browse to it in Directory Opus. Perhaps Chrome has a similar problem.
PowerShell and File Explorer don’t give any error, they just hang for a while.