522 B
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"