Skip to content

Instantly share code, notes, and snippets.

@starkfell
Last active November 22, 2019 10:18
Show Gist options
  • Save starkfell/f5436ceb3b7a62cab0f56edc29568565 to your computer and use it in GitHub Desktop.
Save starkfell/f5436ceb3b7a62cab0f56edc29568565 to your computer and use it in GitHub Desktop.
# Instructions to Install AzureAD PowerShell on PowerShell Core.
Get-InstalledModule
Install-Module -Name Az -Repository PSGallery -AllowClobber -Force
Install-Module -Name AzureADPreview -Repository PSGallery -AllowClobber -Force
Install-Module -Name 'AzureAD.Standard.Preview' -Repository 'Posh Test Gallery'-SkipPublisherCheck -AllowClobber -Force
Import-Module Az.Resources
Import-Module AzureAD.Standard.Preview
Import-Module AzureADPreview
# Removal
(Get-InstalledModule).Name
foreach ($Name in $Names)
{
Uninstall-Module $Name
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment