Installation Pwsh
iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI"
winget install --id Microsoft.Powershell --source winget
iwr "https://github.com/PowerShell/PowerShell/releases/download/v7.5.3/PowerShell-7.5.3-win-x64.msi" -outfile pwsh_v7.5.3.0.msi
iwr "https://github.com/PowerShell/PowerShell/releases/download/v7.5.3/PowerShell-7.5.3-win-x64.exe" -outfile pwsh_v7.5.3.0.exe
Code .Net :
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
