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 13:38] – gsys | microsoft:powershell:scripts [2026/07/12 22:13] (current) – gsys | ||
|---|---|---|---|
| Line 18: | Line 18: | ||
| $Printer = Get-Printer -Name " | $Printer = Get-Printer -Name " | ||
| Remove-Printer -InputObject $Printer | Remove-Printer -InputObject $Printer | ||
| + | </ | ||
| + | |||
| + | ===== Compare File Hash ====== | ||
| + | |||
| + | <code powershell compareHash.ps1> | ||
| + | write-host $(If ($fileHash -eq $knownHash) {"hash matches" | ||
| </ | </ | ||
microsoft/powershell/scripts.1642077496.txt.gz · Last modified: (external edit)