+ Post New Thread
Results 1 to 7 of 7
General Chat Thread, script to change hostname and auto generate Hostname in General; Dear all, im new to script, i have plan to make standardize Hostname to make it easily traceable by seeing ...
  1. #1

    Join Date
    Nov 2013
    Location
    chennai
    Posts
    4
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Post script to change hostname and auto generate Hostname

    Dear all,
    im new to script, i have plan to make standardize Hostname to make it easily traceable by seeing the hostname
    Like …location+dept+Desktop/Laptop+last 6 digit serial (15 characters)
    Kindly help me to change the hostname in my domain via script (pushing it GPO), I have 50 OU’s and location, department details in Users profile.

    thanks in advance

  2. #2
    free780's Avatar
    Join Date
    Sep 2012
    Posts
    894
    Thank Post
    41
    Thanked 67 Times in 64 Posts
    Rep Power
    17
    http://www.windows-commandline.com/c...-command-line/

    Though could cause issues with dns. You also need some query using mac address. How many pcs are we talking.

  3. #3
    kevin_lane's Avatar
    Join Date
    Mar 2007
    Location
    Derby
    Posts
    504
    Thank Post
    22
    Thanked 20 Times in 20 Posts
    Blog Entries
    5
    Rep Power
    19
    Why don't you just use AD description field and keep the hosts name the same

  4. #4
    free780's Avatar
    Join Date
    Sep 2012
    Posts
    894
    Thank Post
    41
    Thanked 67 Times in 64 Posts
    Rep Power
    17
    That may cause less issues as computer name is ads grounding for a pc. I know each pc has a guid but trying to pull it off and get some other grounding for the pcs id.

  5. #5

    Join Date
    Nov 2013
    Location
    chennai
    Posts
    4
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    2000+ PC

  6. #6

    Join Date
    Nov 2013
    Location
    chennai
    Posts
    4
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    I'm unable to maintain ground level and lak of man power. moreover no process in rebuild OS. that is reason i need to script to automat hostname changes

    please refer the below link and kindly help me out in completing this.

    script to rename computer and join it to domain ....

  7. #7

    Join Date
    Nov 2013
    Location
    chennai
    Posts
    4
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by kevin_lane View Post
    Why don't you just use AD description field and keep the hosts name the same
    my desktop engg creating new hostname each everytime for every new joinee.

SHARE:
+ Post New Thread

Similar Threads

  1. script to change permissions on Reg Key
    By e_g_r in forum Windows
    Replies: 4
    Last Post: 16th February 2007, 05:48 PM
  2. Replies: 4
    Last Post: 25th December 2006, 09:15 PM
  3. Replies: 4
    Last Post: 23rd November 2006, 09:33 PM
  4. Replies: 8
    Last Post: 12th November 2006, 02:02 PM
  5. Script to change user email in AD (or Exchange)
    By SpuffMonkey in forum Scripts
    Replies: 16
    Last Post: 8th November 2005, 10:31 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •