PowerShell – 6.2.3 (Stable)

email me

Download PowerShell

https://github.com/PowerShell/PowerShell/releases/download/v6.2.3/PowerShell-6.2.3-win-x64.msi

https://github.com/PowerShell/PowerShell/releases/download/v6.2.3/PowerShell-6.2.3-win-x64.zip

all

 

Notes

Remotely Install PowerShell

Create PSSession to target device

$s = New-PSSession -ComputerName 10.0.0.1 -Credential Administrator

 

Copy the ZIP package to the device

# the path should be local to the device
Copy-Item .\PowerShell-6.2.3-win-x64.zip -Destination u:\users\administrator\Downloads -ToSession $s

 

Connect to the device and expand the archive

Enter-PSSession $s
Set-Location u:\users\administrator\downloads
Expand-Archive .\PowerShell-6.2.3-win-x64.zip

 

Setup remoting to PowerShell Core 6

Set-Location .\PowerShell-6.2.3-win-x64
.\Install-PowerShellRemoting.ps1 -PowerShellHome .

 

Connect to PowerShell Core 6 endpoint on device

Enter-PSSession -ComputerName 10.0.0.1 -Credential Administrator -Configuration powershell.6.2.3