-
Notifications
You must be signed in to change notification settings - Fork 40
Procedure to Bootstap Mac Powershell #24
Copy link
Copy link
Open
Description
A few of us on mac got stuck with the very first powershell step and getting the correct modules installed. The following process was used by a few of us and seemed to work pretty well.
Bootstrap Mac Powershell
brew cask install powershellor Restart powershell- Uninstall Az, Azure, AzureRM and AzureAD
Unregister-PSRepository -Name 'Posh Test Gallery'
This should get you "clean", then:
- Restart powershell
Install-Module AzInstall-Module AzureInstall-Module -Name Az.Accounts -AllowPrerelease -ForceRegister-PackageSource -Trusted -ProviderName 'PowerShellGet' -Name 'Posh Test Gallery' -Location https://www.poshtestgallery.com/api/v2/Install-Module AzureAD.Standard.Preview- Restart powershell
Import-Module AzImport-Module AzureImport-Module AzureAD.Standard.Preview
You should then be able to login, set you subscription then set your azuread to point at the new tenant.
When you go to run the first ps1 file you need to add the -adminPassword as explained in the docs because you are on mac.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels