Notes
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Demo 1: Three Minute Intro to PowerShell
Display all Bluetooth services
Get-Service –DisplayName “*Bluetooth*”
Store all services into a variable
$AllServices = Get-Service
Display a count of all the systems services
$AllServices.Count
Display a count of all the Bluetooth services
$BluetoothServices = Get-Service –DisplayName “*Bluetooth*”
$BluetoothServices.Count
Stop all Bluetooth services
$BluetoothServices | Stop-Service
Start all Bluetooth services
$BluetoothServices | Start-Services