Powershell Local Admin
New to KACE. I am trying to run ps through scripting to create a local admin account. I am able to get the script to execute but it does not seem to work because it is not recognizing the cmdlet. Any help would be appreciated.
Running as SYSTEM New-LocalUser : The term 'New-LocalUser' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Community Chosen Answer
You have to use the 64-bit Powershell to use that cmdlet. Set the folder path to Powershell as C:\Windows\Sysnative\WindowsPowerShell\v1.0\