GPO running AD Powershell Scripts on Win7 clients

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Don Jones Don Jones 1 year, 2 months ago.

  • Author
  • #38950
    Profile photo of Wilfredo Perez
    Wilfredo Perez

    I have a script that is trying to get-aduser but I keep getting the term is not recognized as a cmdlet. I understand why but how can I get around this. Can I import it from a server? Can I do Implicit Remoting to run the GPO? Can I use adsisearcher instead?

  • #38951
    Profile photo of Don Jones
    Don Jones

    You can implicitly remoting it IF the user running the script has authority to remote into the server containing the module. You could also just do an Invoke-Command under the same conditions. Or, install the RSAT, which contains the module.

You must be logged in to reply to this topic.