Compare commits
2
Commits
ea6f7cd489
...
b738b25b9a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b738b25b9a | ||
|
|
ebc98e979e |
@@ -1,3 +1,6 @@
|
||||
# Check the RMM runtime variable to see if it's set to 'null', if not then set the $TicketID
|
||||
If ( $TicketNumber.Trim().ToLower() -ne 'null' ) { $TicketID = $TicketNumber.Trim() }
|
||||
|
||||
# Run SFC to check the filesystem, convert the result from Unicode to UTF8, delete the intermediate $tempFile
|
||||
$tempFile = New-TemporaryFile
|
||||
$(sfc.exe /scannow) | Out-File $tempFile
|
||||
|
||||
Reference in New Issue
Block a user