Browse by Tags

Tagged Content List
  • Blog Post: Active Directory Week: Explore Group Membership with PowerShell

    Summary : Learn about the nuances involved in reporting group memberships with Active Directory PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today we continue our series about Active Directory PowerShell by Ashley McGlone. If you missed it, you may enjoy reading Get Started with Active...
  • Blog Post: Active Directory Week: Get Started with Active Directory PowerShell

    Summary : Microsoft premier field engineer (PFE), Ashley McGlone, discusses the Active Directory PowerShell cmdlets. Microsoft Scripting Guy, Ed Wilson, is here. Today we start a series about Active Directory PowerShell, written by Ashley McGlone... Ashley is a Microsoft premier field engineer...
  • Blog Post: PowerTip: Find PowerShell Help Topics for Active Directory

    Summary : Find the Windows PowerShell help_about topics for Active Directory. Where are the Windows PowerShell help_about topics for Active Directory? If you have Windows 7 or Windows Server 2008 R2 with the Active Directory Remote Server Administration Tools (RSAT) installed, you also have the...
  • Blog Post: Use PowerShell to Search Active Directory for High-Privileged Accounts

    Summary : Microsoft PFE, Ian Farr, provides a Windows PowerShell function that searches for Active Directory users with high-privileged memberships. Microsoft Scripting Guy, Ed Wilson, is here. Today, we have another guest blog post from Microsoft premier field engineer (PFE), Ian Farr. Take it away...
  • Blog Post: PowerShell and Active Directory Recycle Bin

    Summary : Guest blogger, Alan Kaplan, talks about using Windows PowerShell with the Active Directory Recycle Bin. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a guest blog post written by Alan Kaplan. I met Alan several years ago when the Scripting Wife and Jim Christopher started the...
  • Blog Post: Transforming the Active Directory Cmdlets: Part 5

    Summary : Learn how to translate between ADSI, Quest, and Windows PowerShell cmdlets for creating users. Hey, Scripting Guy! Today I'm translating a script for modifying user properties and I could really use some help. There are so many parameters to work with. Where do I start? —LC...
  • Blog Post: PowerTip: List All Parameters for a Cmdlet

    Summary : Learn to provide a parameter list for a cmdlet in a viewable table. I am trying to work with cmdlets with so many parameters that I am having a hard time reading them in Get-Help . Is there a way to list them in a single table? Access the Parameters property by using Get-Command and the...
  • Blog Post: Transforming the Active Directory Cmdlets: Part 4

    Summary : Learn how to translate between ADSI, Quest, and Windows PowerShell cmdlets to read additional user properties. Hey, Scripting Guy! I'm trying figure something out. I can get some properties with the Quest cmdlets without even asking, but when I go to use the Windows PowerShell cmdlets...
  • Blog Post: PowerTip: Identify All Properties for Active Directory User

    Summary : Use the –Properties parameter to find all properties attached to an Active Directory user. How can I use Windows PowerShell rather than digging through the ADSI editor to find the available properties for a user in our Active Directory? Leverage the –Properties parameter on...
  • Blog Post: Transforming the Active Directory Cmdlets: Part 3

    Summary : Learn how to translate between ADSI, Quest, and Windows PowerShell cmdlets for creating users. Hey, Scripting Guy! I downloaded a script from the Internet to remove users, but it's designed to use the newer Windows PowerShell cmdlets. My server environment doesn't have them available...
  • Blog Post: PowerTip: Use PowerShell to Determine ASCII Value

    Summary : Learn to use Windows PowerShell to determine the ASCII numeric value of a character. How can I use Windows PowerShell to tell the ASCII value of a character? You can get the numeric value of an ASCII character quite easily, for example, to get the value of the lowercase letter a , type...
  • Blog Post: Transforming the Active Directory Cmdlets: Part 2

    Summary : Learn how to transcribe between ADSI, Quest, and Windows PowerShell cmdlets for creating users. Hey, Scripting Guy! I used to use the Quest cmdlets to create new users, but I need to rewrite some of my scripts to work with a legacy environment that can't use the .NET Framework. Can...
  • Blog Post: PowerTip: Convert Plain Text to Secure String

    Summary : Learn to convert a plain text password to a secure string for cmdlet parameters. I'm trying to convert some scripts to work with the Active Directory modules, but they need a secure string for the password. How do I create one of these? Use the ConvertTo-SecureString cmdlet, capture...
  • Blog Post: Transforming the Active Directory Cmdlets: Part 1

    Summary : Learn how to translate between ADSI, Quest, and Windows PowerShell cmdlets for creating users in Active Directory. Hey, Scripting Guy! I've got some older scripts that create users by using the [ADSI] accelerator. Can you show me how they might be rewritten to work with the more modern...
  • Blog Post: Weekend Scripter: Use PowerShell to Automate Active Directory Accounts

    Summary : Guest blogger, Gary Jackson, shares a technique to automate Active Directory accounts. Microsoft Scripting Guy, Ed Wilson, is here. I met Gary Jackson at the Windows PowerShell Summit in April. We talked about some cool things he has been working on, so I invited him to write a guest blog...
  • Blog Post: Remediate Active Directory Members that Don't Support LVR

    Summary : Ian Farr talks about using Windows PowerShell to find and remediate Active Directory members that don’t support linked-value replication. Microsoft Scripting Guy, Ed Wilson, is here. Today we welcome back Microsoft PFE, Ian Farr, as our guest blogger. To read more of Ian's previous...
  • Blog Post: Weekend Scripter: Use PowerShell to Migrate to Active Directory On-Premises

    Summary : Microsoft PFE, Asia Gandecka, talks about using Windows PowerShell to migrate users from Windows Azure Active Directory to Active Directory on-premises. Microsoft Scripting Guy, Ed Wilson, is here. Let’s welcome a new guest blogger, Asia Gandecka… I have been with Microsoft...
  • Blog Post: Use PowerShell to Get Account Lockout and Password Policy

    Summary : Microsoft guest blogger and PFE, Ian Farr, talks about using Windows PowerShell to get account lockout and password policies. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back guest blogger, Ian Farr. Ian is a Microsoft PFE in the UK. Recently, I was asked how to retrieve a domain’s...
  • Blog Post: Weekend Scripter: Use PowerShell to Find Computers SIDs in AD DS

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to find computer security identifiers (SIDs) in Active Directory Domain Services. Microsoft Scripting Guy, Ed Wilson, is here. TechEd 2013 is soon upon us—both in New Orleans and in Madrid . The Scripting Wife...
  • Blog Post: Hey, Scripting Guy! How Can I List All the Users in an OU Who Are Not Members of a Specified Group?

    Hey, Scripting Guy! How can I get a list of all the users in an OU who are not a member of a specified group? -- TJ Hey, TJ. You know, the Scripting Guys are having so much fun with the 2008 Winter Scripting Games that we just can’t bear to see the excitement come to an end; therefore, we’ve...
  • Blog Post: Add User Principal Names in Active Directory via PowerShell

    Summary : Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell to add user principal names to users in Active Directory. Hey, Scripting Guy! We are planning for our Active Directory migration, and as part of that, I am reviewing users. The problem is that I found out that whoever...
  • Blog Post: How Can I List All the Attributes Used by the Computer Class in Active Directory?

    Hey, Scripting Guy! How can I list all the attributes used by the Computer class in Active Directory? -- KP Hey, KP. Thanks for your question. In response, yes, it is true that the Kirkland Fire, the Colt League baseball team coached by one of the Scripting Guys, won the city championship this past...
  • Blog Post: Weekend Scripter: Getting Directory Listings from Remote Servers

    Summary : Microsoft Scripting Guy, Ed Wilson, shows how to get a directory listing from remote servers by using Windows PowerShell and how to write results to an CSV file. Microsoft Scripting Guy, Ed Wilson, is here. It is here: Windows PowerShell Saturday #003 in Atlanta, Georgia (Alpharetta). The...
  • Blog Post: Hey, Scripting Guy! How Can I Determine the Manager for All the Groups in Active Directory?

    Hey, Scripting Guy! How can I return a list of all my Active Directory groups, along with the name of the user responsible for each group? -- PL Hey, PL. You know, we realize that most of you are thinking, “Wow, this has been a busy month for you Scripting Guys. You guys really deserve to take some...
  • Blog Post: Hey, Scripting Guy! How Can I Edit Terminal Server Profiles for Users in Active Directory?

    Hey, Scripting Guy! I need to modify the terminal server profile for a bunch of users in Active Directory, and I don't get it. I can see the properties on Active Directory Users and Computers, but when I look in ADSI Edit, I cannot find the property names. I know they must be there, but I am at a loss...