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

36 lines
522 B
Markdown

# Learn Powershell in Less Than 2 hours
## PSVersionTable
you can see the version of powershell with the command
```powershell
$PSVersionTable
```
## ExecutionPolicy
To be able to see if you can run your Powershell scripts
```powershell
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
```powershell
Write-Host "Hello world"
```