Files
Powershell-Training/Learn Powershell in Less than 2 hours.md
2026-01-04 06:00:08 +01:00

522 B

Learn Powershell in Less Than 2 hours

PSVersionTable

you can see the version of powershell with the command

$PSVersionTable

ExecutionPolicy

To be able to see if you can run your Powershell scripts

Get-ExecutionPolicy
// Work only has administrator
Set-ExecutionPolicy remoteSigned

Widows Powershell ISE

To be able to write Powershell script you have a free IDE

Commandes

Write-Host

For writing in the console

Write-Host "Hello world"