Dalle on Twitter
Posts by
-
-
Recent Posts
Recent Comments
Archives
- March 2012
- January 2012
- December 2011
- November 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- June 2008
- April 2007
- June 2006
Categories
Deployment
PowerShell
Security
Tag Archives: Active Directory
How to list all XP computers
Todays onliner will show all Windows XP computers in a whole Active Directory. Get-QADComputer -SizeLimit 0 -Osname "*xp*" | Select-Object Name, description, path This can be nice If you want to migrate to Windows 7. And if you want to … Continue reading
Posted in PowerShell Blogs
Tagged Active Directory, AD, cmdlet, PowerShell Blogs, Quest
Leave a comment
Get-ClientSiteName
This is another function that I use in Active Directory scripting. I use it when I want to create computer names with the syntax SitenameComputertypeNumbers. The function can be found here. Technorati Tags: PowerShell,WMI,Get-ClientSiteName,Active Directory
Posted in PowerShell Blogs
Tagged Active Directory, Get-ClientSiteName, PowerShell Blogs, WMI
Leave a comment
The story continues
Hi, I sat down thinking a little bit today. And then It strikes me that the Lab AD was not finished and that It was not done by best practice. So I will do the structure from this document from … Continue reading
Lab AD with 5000 users
The script is not 100% finished as It is posted now in pieces. I will be adding some check for existing users etc. BUT I did test it last night with 5000 accounts and It did well. Okay, I got … Continue reading
Create Lab AD – Part 6
How to create and set user information. It’s time to create and set our user information. The information we want for this setup is: First name Last name Display name Description Telephone number E-Mail Web page User principal name SAMAccount … Continue reading
Create Lab AD – Part 5 (Changed)
I have been doing some changes to the last part. All of my scripts are under constantly changes. So before I post the next part of the script I want to post this change. I have been doing some changes … Continue reading
Create Lab AD – part 5
It’s time to take our information and create the AD. First of all we need to setup the lab structure in our AD. I use my lab active directory named poweradmin.local # Name of the AD $labDomain = [ADSI]"LDAP://dc=poweradmin,dc=local" And … Continue reading
Posted in PowerShell Blogs
Tagged Active Directory, Create, Lab AD, Organizational Unit, OU, PowerShell Blogs
4 Comments
Create Lab AD – part 4
We have: Real names User Names (samAccountNames) with employee numbers OU names Country Names If you have missed them, look in my older posts about Create Lab AD. In this part we will do: Mail addresses Telephone numbers User Description … Continue reading
Create Lab AD – part 3
We have: Real names User Names (samAccountNames) with employee numbers In this part we will do stuff for the Lab OUs and we will also pick Country for the users. We will not create anything until we have what we … Continue reading
Create Lab AD (continue)
In my last post I did show you how to take names from the internet to make “real” names. I know that these are Swedish names and I will post2 similar functions with US names later on. Now when we … Continue reading