18-02-22 09:09 AM
I am launching PowerShell via blueprism and need to change the expiration date on some users. I have the packages installed on the machine and can run the code if I open PowerShell outside of the blueprism environment.
Blueprism start location is "C:\Program Files\Blue Prism Limited\Blue Prism Automate" Local PowerShell starts in network drive "G:" where the packages are installed.
I have tried to change the location, but it does not help. Elevated permission is not the problem and I have checked that the code works.
This is the error message: Set-ADAccountExpiration : The 'Set-ADAccountExpiration' command was found in the module 'ActiveDirectoryModule', but the module could not be loaded.
18-02-22 10:02 AM
18-02-22 11:36 AM
18-02-22 01:54 PM