Add online disk check / repair script (powershell)#141
Add online disk check / repair script (powershell)#141silversword411 merged 3 commits intoamidaware:mainfrom
Conversation
silversword411
left a comment
There was a problem hiding this comment.
chatGPT comments need to be tweaked to not include the ps1 name ;)
You tested this yet?
|
Yes, I did test it and I also made tweaks to it prior to finalizing. I have always used write-host in my TRMM scripts. Wasn't aware there was a difference since it runs in the background as the trmm user. I can correct this as long as it doesn't break the output in TRMM (obv we want to see the output results). Re: script name I wasn't aware the script name needs to be removed. Sure I can update that. |
I never see output with |
|
@silversword411 either way I addressed it - should be fixed now |
This PR adds an online disk repair using PowerShell. By default, it runs a simple online check for volume errors. Optionally, you can include the
spotfixparameter to attempt to repair the volume while it is mounted, or you can schedule anofflinescan on the next reboot.