microsoft:powershell:scripts
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| microsoft:powershell:scripts [2024/02/17 19:03] – external edit 127.0.0.1 | 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.txt · Last modified: by gsys