A coworker has sent a script file she wrote for Windows OS based systems. She said it was a PowerShell script and it has a .bat
file extension. When you run the script you receive several errors immediately. What is most likely the issue?
Extension should be .bat1
or .bat2
Extension should be .ps1
Run the file as administrator first
PowerShell is not compatible with Windows OS