The RunAsAccount feature in DiskScan allows the script to run under a privileged account, such as an administrator account. Currently, to use this feature, you must manually uncomment the lines in the PowerShell script. It would be helpful if there was a flag or prompt so that users could more easily decide whether to run the script under a privileged account. This would make it easier to use the script in environments that require privileged accounts for certain operations.
The RunAsAccount feature in DiskScan allows the script to run under a privileged account, such as an administrator account. Currently, to use this feature, you must manually uncomment the lines in the PowerShell script. It would be helpful if there was a flag or prompt so that users could more easily decide whether to run the script under a privileged account. This would make it easier to use the script in environments that require privileged accounts for certain operations.