Onedrivemapper v2.29 released!

Version 2.29 of OneDriveMapper has been released.

  • Switched to using IHTML3 document interface (browser version compatibility
  • Added an option to let the script prompt for the login name (in addition to the password prompt)

Get the new version here

Subscribe
Notify of
guest

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

6 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
Nathan
Nathan
9 years ago

Hi Jos,
Youre script is awesome but we have a little problem. Currently the script functions perfectly in our VDI environment. Here UAC is disabled.

On our managed machines (laptops and desktops) we can’t disable UAC, and the script malfunctions. The script tells me there are security settings blocking the script from executing. The same set of GPO’s are running on both environments.

Have you encountered similar situations, and could you please assist us in our predicament?

Kind regards,

Nathan van den Brink

Márton
Márton
9 years ago

Dear Jos,

Thank you very much for your script. I really appreciate your hard work.

The script works well on my standalone machine and I hope it will work at the school as well. I have two questions:

Q1.) While the script works, I get an error message in the PowerShell window:

“PS C:\Users\bacso\Desktop> .\OneDriveMapper_v2.29.ps1
One moment please, your drive(s) are connecting…
True
Exception calling “ReleaseComObject” with “1” argument(s): “Az objektumhivatkozás nincs beállítva semmilyen objektumpél
dányra.”
At C:\Users\bacso\Desktop\OneDriveMapper_v2.29.ps1:349 char:9
+ $Null = [System.Runtime.Interopservices.Marshal]::ReleaseComO …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : NullReferenceException

OnedriveMapper has finished running”

Any idea what causes it?

Q2.) In you script, under required resources, there is a line:

“if($sharepointMappings[0] -eq “https://ogd.sharepoint.com/site1/documentsLibrary,ExampleLabel,Y:”){”

I set up 2 different SharePoint mappings at the config section and they work well. Do I have to do something with this line as well?