Using PowerShell for managing Azure resources: Difference between revisions

From PUBLIC-WIKI
Jump to navigation Jump to search
Eyales (talk | contribs)
No edit summary
Eyales (talk | contribs)
No edit summary
Line 2: Line 2:
* Login to the machine using privileged account.
* Login to the machine using privileged account.
* From command prompt, run the command below to invoke PowerShell:
* From command prompt, run the command below to invoke PowerShell:
: ''''powershell''''
: '''powershell'''
: Note: You need to run cmd.exe or PowerShell.exe as administrator.
: Note: You need to run cmd.exe or PowerShell.exe as administrator.
* Run the command below to find out the current PowerShell version:
* Run the command below to find out the current PowerShell version:
: ''''$PSVersionTable.PSVersion''''
: '''$PSVersionTable.PSVersion'''

Revision as of 08:59, 15 November 2018

How to configure PowerShell for managing Azure resources (Windows platform)

  • Login to the machine using privileged account.
  • From command prompt, run the command below to invoke PowerShell:
powershell
Note: You need to run cmd.exe or PowerShell.exe as administrator.
  • Run the command below to find out the current PowerShell version:
$PSVersionTable.PSVersion