Use ActiveDirectory Module from Microsoft in ARS

How do I use a powershell script built using Windows Active Directory module as an Active Roles Server Script Module? I am trying this I am getting error that "GEt-ADGroupMember" is not recognized. I think this is because it does not recognize the cmdlet without the ActiveDirectory module. 

  • The AD PowerShell modules do need to be installed on the local machine. You can also remote into another server that has this installed already with a PSSession if you would like to avoid the installation. I would also suggest that it maybe beneficial to convert this script so that you are using the QAD modules that come with the product so that you can enforce policy and track changes for your operations.