Browse by Tags

Tagged Content List
  • Blog Post: Weekend Scripter: Use PowerShell to Create Users in Active Directory

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to read a CSV file and create users in Active Directory. Microsoft Scripting Guy, Ed Wilson, is here. Yesterday in Oh No! Oh Wait...PowerShell for the Win! , I created a CSV file from a Word document that I had been...
  • Blog Post: Weekend Scripter: Use PowerShell to Synchronize Delegated Admin Passwords

    Summary : Microsoft PFE and Honorary Scripting Guy, Ian Farr, discusses using Windows PowerShell to synchronize delegated administrator passwords. Microsoft Scripting Guy, Ed Wilson, is here. Guest blogger and Honorary Scripting Guy, Ian Farr, is back with us today for the conclusion of his series...
  • Blog Post: Weekend Scripter: Use PowerShell to Delegate Administrator of RODCs

    Summary : Microsoft PFE, Ian Farr, discusses using Windows PowerShell to delegate administrator of RODC. Microsoft Scripting Guy, Ed Wilson, is here. Today we have Honorary Scripting Guy and Microsoft PFE, Ian Farr, back for more words of wisdom... Welcome to the third post in a four part series...
  • Blog Post: PowerTip: Use PowerShell to Work with Active Directory Date Fields

    Summary : Use Windows PowerShell to work with Active Directory date fields. How can I Use Windows PowerShell to work with date fields in Active Directory? Try the following techniques: # Password last set within the last 30 days? $pwdLastSet = Get-ADUser Administrator -Properties pwdLastSet...
  • Blog Post: PowerTip: Use PowerShell to Find if User Is Nested Group Member

    Summary : U se Windows PowerShell to find if a user is a nested member of a particular group. How can I use Windows PowerShell to quickly find if a user is a nested member of a particular group, for example, Domain Admins? Use the -RecursiveMatch LDAP filter operator: Get-ADUser -Filter 'memberOf...
  • Blog Post: Active Directory Week: Stale Object Cleanup Guidance—Part 2

    Summary : Scripting tips for cleaning up stale Active Directory accounts. Microsoft Scripting Guy, Ed Wilson, is here. Today we continue our series about Active Directory PowerShell by Ashley McGlone. Before you begin, you might enjoy reading these posts from the series: Get Started with Active...
  • Blog Post: PowerTip: Use PowerShell to Get List of FSMO Role Holders

    Summary : Use Windows PowerShell to get a list of FSMO role holders in Active Directory. I use NETDOM QUERY FSMO to list my domain controllers that hold the FSMO roles, but can I do it with Windows PowerShell? As usual, there is more than one way to do most things in Windows PowerShell, but here...
  • Blog Post: PowerTip: Use PowerShell to Get Inactive Active Directory Accounts

    Summary : U se Windows PowerShell to get a report of inactive Active Directory accounts. How can I use Windows PowerShell to get a report of inactive Active Directory accounts? The Search-ADAccount cmdlet has a number of parameters and switches to help identify stale accounts: ...
  • Blog Post: Use PowerShell to Get BIOS Information on Remote Servers

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to retrieve BIOS information from remote servers. Hey, Scripting Guy! I really hope you can help me. I need to get a list of basic BIOS information from our servers. All of the servers that I need are listed in a single...
  • Blog Post: Active Directory Week: Stale Object Cleanup Guidance—Part 1

    Summary : Learn about how to clean up stale Active Directory accounts. Microsoft Scripting Guy, Ed Wilson, is here. Today we continue our series about Active Directory PowerShell by Ashley McGlone. Before you begin, you might enjoy reading his first two posts: Get Started with Active Directory...
  • Blog Post: Active Directory Week: Essential Steps for PowerShell when Upgrading

    Summary : Learn three essential steps for Windows PowerShell when upgrading from Windows Server 2003. Microsoft Scripting Guy, Ed Wilson, is here. Today we have the final post in the series about Active Directory PowerShell by Ashley McGlone. Before you begin, you might enjoy reading these posts from...
  • 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...