fachinformatiker-wiki

it's easy when it's here

User Tools

Site Tools


microsoft:powershell:scripts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
microsoft:powershell:scripts [2022/01/13 08:46] – created gsysmicrosoft: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
 +</code>
  
-===== Drucker entfernen ======+| AllSigned | FIXME | 
 +| Default | FIXME | 
 +| RemoteSigned | FIXME| 
 +| Restricted | FIXME | 
 +| Undefined | FIXME | 
 +| Unrestricted | FIXME|
  
-<code powershell>+===== Spezifischen Drucker entfernen ====== 
 + 
 +<code powershell deletePrinter.ps1>
 $Printer = Get-Printer -Name "Microsoft XPS Document Writer" $Printer = Get-Printer -Name "Microsoft XPS Document Writer"
 Remove-Printer -InputObject $Printer Remove-Printer -InputObject $Printer
 </code> </code>
microsoft/powershell/scripts.1642059973.txt.gz · Last modified: 2024/02/17 19:03 (external edit)