Administrator Check: The script checks whether the current PowerShell session is running with administrator privileges. If not, it throws an error, indicating that the script should be run in an administrator PowerShell prompt. $ErrorActionPrefer...
hassandevops.com2 min read
No responses yet.