Creating Local Admins (Part 2)

Share |

Subscribe to Feed

PowerShell eBook
Sign up for
Your PowerTip of the Day:

Powershell Plus

13 Free SQL Tools from Idera

Free Ebook: Mastering Powershell

In a previous tip, we showed you how to create a new local admin account using ADSI. On Windows 7 and Server 2008, it is much easier to use net.exe instead:

net user AdminAccount1 /ADD
net localgroup Administrators AdminAccount1 /ADD

Twitter This Tip! ReTweet this Tip!

Posted Sep 13 2011, 06:00 AM by ps1
Copyright 2012 All rights reserved.