Tuesday, May 29, 2018

PowerShell script to create a junction point to make it easier to access OneDrive from VDI, Citrix and Remote Desktop Services

A workaround when you are using any kind of Remote Desktop Services, VDI and other terminal services function (or applications) that do not support the OneDrive for business client is accessing the files from the PC you are physical logged on. But browsing to the file path where the files/file links are physical locate might be a bit too much to ask your users for.
So Why not just create a link? You can use one of the old Windows Command (back from the old Ms-Dos days) "MkLink"

Example:
mklink /j  c:\OneDrive-Data "C:\Users\Olav\OneDrive - Innofactor Plc"
But not why automate it and create a PowerShell script that’s makes it much easier and possible to pushout to all your users?

You can find the script at my Github here