Programming Fundamentals/Introduction/PowerShell

From Wikiversity
Jump to navigation Jump to search

hello.ps1[edit | edit source]

# This script displays "Hello world!"
#
# References:
#     https://technet.microsoft.com/en-us/library/bb963733.aspx

Write-Host 'Hello World!'

Try It[edit | edit source]

Copy and paste the code above into one of the following free online development environments or use your own PowerShell compiler / interpreter / IDE.

Online[edit | edit source]

  • There are some options, but none are fully functional at this time.

Windows[edit | edit source]

macOS / Linux[edit | edit source]

See Also[edit | edit source]