microsoft:powershell:scripts
This is an old revision of the document!
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.1642077496.txt.gz · Last modified: 2024/02/17 19:03 (external edit)