Error running PowerShell
Posted: Tue Sep 20, 2016 4:24 am
When running the script to scan the AD server we're seeing these errors:
The script(8932) was successful in the THEN section.
Start S8932
IF F1 P1: P2: P3: T:552.4473673
L1 F129 P1::WEARESERVER P2: P3: T:552.548363
L4 F109 P1:powershell.exe -ExecutionPolic P2: P3:PoShVersion T:552.6603665
L5 F70 P1:PoShVersion P2:6 P3:2 T:559.5003661
L6 F29 P1:System doe not meet the minium P2: P3: T:559.6013633
L7 F129 P1: P2: P3: T:559.7083663
System doe not meet the minium requirments of Powershell 3
Commands tab:
Parameters: cmd.exe!!! /c "powershell.exe -ExecutionPolicy Bypass -NoLogo -NonInte
Output: 'powershell.exe' is not recognized as an internal or external command,
operable program or batch file.
It looks like it's a path issue (see screenshot) but when I try to edit the script to add the full path the script is replaced with another with a higher script ID.
The script(8932) was successful in the THEN section.
Start S8932
IF F1 P1: P2: P3: T:552.4473673
L1 F129 P1::WEARESERVER P2: P3: T:552.548363
L4 F109 P1:powershell.exe -ExecutionPolic P2: P3:PoShVersion T:552.6603665
L5 F70 P1:PoShVersion P2:6 P3:2 T:559.5003661
L6 F29 P1:System doe not meet the minium P2: P3: T:559.6013633
L7 F129 P1: P2: P3: T:559.7083663
System doe not meet the minium requirments of Powershell 3
Commands tab:
Parameters: cmd.exe!!! /c "powershell.exe -ExecutionPolicy Bypass -NoLogo -NonInte
Output: 'powershell.exe' is not recognized as an internal or external command,
operable program or batch file.
It looks like it's a path issue (see screenshot) but when I try to edit the script to add the full path the script is replaced with another with a higher script ID.