Question: You created a batch script called modify.bat that will assign passwords and enable the disabled Active Directory user accounts using dsmod.exe. When you run the
You created a batch script called modify.bat that will assign passwords and enable the disabled Active Directory user accounts using dsmod.exe. When you run the batch script, Windows PowerShell returns an error saying, The term modifybat is not recognized as the name of a cmdlet, function, script file, or operable program. Which of the following actions can resolve this error?
Launch Windows PowerShell with elevated privileges
Prefix a period and backslash on the batch script before running it
Verify that you have Execute permissions on the modify.bat file
Run the SetExecutionPolicy Unrestricted command
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
