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: by 127.0.0.1