Browse - Programming Tips - Powershell hello world

Date: 2018may24
Language: Powershell
OS: Windows

Q.  Powershell hello world

A.  Make a file called hello.ps1 with:

Write-Host Hello World
Make a file called hello.bat to run it:
Powershell.exe -executionpolicy remotesigned -File hello.ps1
Run it:
hello.bat