Open ghost opened 4 years ago
Great Idea.
PS. Use triple quotes ```powershell
to start code block, and end with another triplet.
Function DisablePrintSpooler {
Write-Output "Stopping and disabling Print Spooler service..."
Stop-Service "Spooler" -WarningAction SilentlyContinue
Set-Service "Spooler" -StartupType Disabled
}
Made self function dont know this correct way.
Disable Print Spooler
Function DisablePrintSpooler { Write-Output "Stopping and disabling Print Spooler service..." Stop-Service "Spooler" -WarningAction SilentlyContinue Set-Service "Spooler" -StartupType Disabled }