#3
|
|||
|
|||
PS C:\Windows\system32> $PSVersionTable
Name Value ---- ----- PSVersion 5.1.17763.4840 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.17763.4840 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 PS C:\Windows\system32> $Profile C:\Users\lg*****sv\Documents\WindowsPowerShell\Mic rosoft.PowerShell_profile.ps1 PS C:\Windows\system32> Get-AzCloudService ResourceGroupName Name Location ProvisioningState ----------------- ---- -------- ----------------- GEHC-CX-IC-DEV-US-EA-WR-01-01 neal-cloud-wr eastus Succeeded So I connect with this lg**** user to this server, who is an admin, but then login as a user with AD credentials in Azure using the az login command and then a az account set. That is all successful until I get to the Get-AzCloudService command in VBP. |
|
|