Change AD Description for a Remote Computer

Comments

6 comments

  • Mikael Sjövall

    HELP .. does not work in my console

    0
    Comment actions Permalink
  • Wizz

    Hey, sorry i'm not a Powershell expert with knowledge about why. I'm running Set-ADComputer on my Windows 10 Computer with Powershell 5.1. I think it's native on it. Try to "Import-Module ActiveDirectory"

    And tool is running Locally, not remotely. Your admin computer run the command, not the remote computer. To be clear about that :)

    0
    Comment actions Permalink
  • Mikael Sjövall

    No PS expert here too.

    Any help, PS experts?

    0
    Comment actions Permalink
  • Wizz

    Seems to be linked to your RSAT. Module is ready to use when RSAT are installed in windows 8, 8.1 & 10.

    https://4sysops.com/wiki/how-to-install-the-powershell-active-directory-module/

    If not Windows 8 or 10 :

    1. Click Add features, and then:
    2. Select Active Directory module for Windows PowerShell in Remote Server Administration Tools > Role Administration Tools > AD DS and AD LDS Tools.
    0
    Comment actions Permalink
  • Mikael Sjövall

    Now a bit better .. but not working

    0
    Comment actions Permalink
  • Wizz

    I remember having already had this error, sometimes, and I don't know the cause. 

    For my part, it never happens twice in a row, it just work properly if I run it a second time.

     

    Maybe a PDQ issue, try the script in Powershell ISE (adapt variables) to test if it works... 
    Maybe just need an additionnal reboot, an additionnal pre-requisite or something like that.. I think I can't help you more about that. :/

    0
    Comment actions Permalink

Please sign in to leave a comment.