PowerShell
Installation
PowerShell Core (6+)
PowerShell 5.1
Download Windows Management Framework 5.1
Windows Management Framework (WMF) 5.1 Release Notes
Configuration
Get host environment
PS C:\> Get-Host
Get version of PowerShell
PS C:\> $PSVersionTable
Executing PS1 Script Files
powershell -File script.ps1
or
PS C:\> .\script.ps1
powershell -ExecutionPolicy ByPass -File script.ps1