Hello, I have a working PS script. It will prompt the user for a computer name and the computer named that gets entered will then be moved to an "inactive OU" in AD. My issue is my script uses the Quest PowerShell snapin. So using PowerShell ISE I need to execute the following just to run it.
set location c:\
Add-PSSnapin quest.activeroles.admanagement
How do I automate this or can I embed this into a .ps1 script? I need many different people to be able to run this script and I need it to be simple. I'd like a compiled .EXE if possible.
Thanks.