You should have an SU session open now. Let's walk through the steps for installing the module:
- To install the AzureRM.Netcore PowerShell module, run the Install-Module cmdlet, along with a module manifest, that is, AzureRM.Netcore:
PS> Install-Module -Name AzureRM.Netcore
- You may get a warning based on the execution policy. Pick Yes to continue; this is a trusted module.
- Now the module is ready and available for use. To import the cmdlets to the user session, run the Import-Module cmdlet:
PS> Import-Module -Name AzureRM.Netcore
- Test the AzureRM cmdlets. To create a session, use Login-AzureRmAccount:
PS> Login-AzureRmAccount
- Straight after that, you need to authenticate the device by going to https://aka.ms./devicelogin ...