Download and Install Latest Microsoft OneDrive Automatically

0 Shares

I’m really excited with us finally getting Microsoft OneDrive into the Evergreen PowerShell module. I see increased usage of OneDrive in Enterprises. Windows 10 and Windows 2019 both have an amazing feature called OneDrive Files on Demand which is a must in Non Persistent EUC environments. And to top that, the latest Microsoft FSLogix Apps 2004 make Windows Search work, that’s why I’m so excited.

Download and Install Latest Microsoft OneDrive Automatically

I’m using the latest version in the Insider Ring, but you can also change to use e.g. Enterprise.

0 Shares

Automation Framework Community Edition

The fastest way to build your lab environment.

Virtual Expo

Friday 30th of September 2022

2 thoughts on “Download and Install Latest Microsoft OneDrive Automatically”

  1. I was trying to use this script and get the following error when i run it…any idea what that could be out of interest? Cheers 🙂

    Transcript started, output file is C:\Windows\Temp\Microsoft OneDrive for Business 20.169.0823.0008 20.169.0823.0008 PS Wrapper.log
    Set-Location : Cannot convert ‘System.Object[]’ to the type ‘System.String’ required by parameter ‘Path’. Specified method is not supported.
    At C:\Windows\Temp\eg-OneDrive.ps1:38 char:4
    + CD $Version
    + ~~~~~~~~
    + CategoryInfo : InvalidArgument: (:) [Set-Location], ParameterBindingException
    + FullyQualifiedErrorId : CannotConvertArgument,Microsoft.PowerShell.Commands.SetLocationCommand

    Reply

Leave a Comment