microsoft:powershell:scripts
PowerShell Scripts
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine Set-ExecutionPolicy -ExecutionPolicy AllSigned -Scope Process
AllSigned | |
Default | |
RemoteSigned | |
Restricted | |
Undefined | |
Unrestricted | |
Spezifischen Drucker entfernen
- deletePrinter.ps1
$Printer = Get-Printer -Name "Microsoft XPS Document Writer" Remove-Printer -InputObject $Printer
microsoft/powershell/scripts.txt · Last modified: 2024/02/17 19:03 by 127.0.0.1