microsoft:powershell:scripts
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
microsoft:powershell:scripts [2022/01/13 08:46] – [Drucker entfernen] gsys | microsoft:powershell:scripts [2024/02/17 19:03] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== PowerShell Scripts ====== | ====== PowerShell Scripts ====== | ||
+ | <code powershell> | ||
+ | Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine | ||
+ | Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine | ||
+ | Set-ExecutionPolicy -ExecutionPolicy AllSigned -Scope Process | ||
+ | </ | ||
+ | |||
+ | | AllSigned | FIXME | | ||
+ | | Default | FIXME | | ||
+ | | RemoteSigned | FIXME| | ||
+ | | Restricted | FIXME | | ||
+ | | Undefined | FIXME | | ||
+ | | Unrestricted | FIXME| | ||
===== Spezifischen Drucker entfernen ====== | ===== Spezifischen Drucker entfernen ====== | ||
- | <code powershell> | + | <code powershell |
$Printer = Get-Printer -Name " | $Printer = Get-Printer -Name " | ||
Remove-Printer -InputObject $Printer | Remove-Printer -InputObject $Printer | ||
</ | </ |
microsoft/powershell/scripts.1642059987.txt.gz · Last modified: 2024/02/17 19:03 (external edit)