Skip to content

Instantly share code, notes, and snippets.

@PCfromDCSnippets
Created December 15, 2017 12:38
Show Gist options
  • Save PCfromDCSnippets/f8864e3a08feb74b9a799abbffce4795 to your computer and use it in GitHub Desktop.
Save PCfromDCSnippets/f8864e3a08feb74b9a799abbffce4795 to your computer and use it in GitHub Desktop.
Get Latest MSOL Module
Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force -Confirm:$false
Install-Module -Name MSOnline -AllowClobber -Confirm:$false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment