If I want to be able to import powershell modules in APM using the localhost execution method, what directory should they go in?
I would recommend placing PowerShell modules in the "C:\Windows\System32\WindowsPowerShell\v1.0\Modules" directory, but really any directory the "SYSTEM" account has permissions to access should be sufficient.
That is what I tried at first but what getting access errors. I also tried just system32. Eventually I gave up, stuck them in C:\ , and just imported them using the complete path within the script. I was probably running into some UAC stuff since SYSTEM's access looked right -- didn't feel like dealing with it.