microsoft:powershell:scripts
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
microsoft:powershell:scripts [2022/01/13 08:46] – created 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 | ||
+ | </ | ||
- | ===== Drucker entfernen ====== | + | | AllSigned | FIXME | |
+ | | Default | FIXME | | ||
+ | | RemoteSigned | FIXME| | ||
+ | | Restricted | FIXME | | ||
+ | | Undefined | FIXME | | ||
+ | | Unrestricted | FIXME| | ||
- | <code powershell> | + | ===== Spezifischen Drucker entfernen ====== |
+ | |||
+ | <code powershell | ||
$Printer = Get-Printer -Name " | $Printer = Get-Printer -Name " | ||
Remove-Printer -InputObject $Printer | Remove-Printer -InputObject $Printer | ||
</ | </ |
microsoft/powershell/scripts.1642059973.txt.gz · Last modified: 2024/02/17 19:03 (external edit)