none
Change Computer name and join to Domain at a time through Powershell Script. RRS feed

  • Question

  • Hi,

    I want to run a script in my windows server 2008 which will change specified client computer name and join to my domain xxxxx.com with a powershell script. 


    Sugandh

    Friday, August 12, 2016 5:50 AM

Answers

  • Hi Gandham,

    you set up a scheduled task to do that. Just set your schedule as desired, then add an execution-action that runs PowerShell with this as parameter '-ExecutionPolicy Bypass -File "C:\path\to\my\script.ps1"' (adjust the path to where your script is located).

    Cheers,
    Fred

    


    There's no place like 127.0.0.1

    Friday, August 12, 2016 7:25 AM