Browse by Tags

Tagged Content List
  • 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: 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: 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 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...
  • Blog Post: Use PowerShell Active Directory Cmdlets Without Installing Any Software

    Summary: Learn how to use Windows PowerShell remoting to manage user objects without installing software on the client. Hey, Scripting Guy! I was reading your article about using the Microsoft Active Directory Windows PowerShell cmdlets, and it looks really cool. The problem is that I do not want...
  • Blog Post: Weekend Scripter: Use PowerShell for ADM Cleanup—The Exciting Conclusion

    Summary: Two Microsoft PFEs conclude their three-part series on cleaning up old ADM files from AD DS. Microsoft Scripting Guy, Ed Wilson, is here. Today, we have the conclusion of a three-part series written by PFEs Mark Morowczynski and Tom Moser. Be sure to read the blog for Friday and Saturday...
  • Blog Post: Use PowerShell to Explore Active Directory Security

    Summary : Learn how to use Windows PowerShell to explore Active Directory Security settings on objects. Hey, Scripting Guy! I have a problem. My boss told me I need to document the access rights for objects that are in Active Directory. I have absolutely no idea how to do this. I open up Active Directory...
  • Blog Post: The Ins and Outs of Using DSQuery with Windows PowerShell

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using DSQuery to return results for use in Windows PowerShell. Hey, Scripting Guy! I like using the DSQuery tool to search Active Directory Domain Services (AD DS). Can I use that tool with Windows PowerShell? —WS Hello WS, Microsoft...
  • Blog Post: Hey, Scripting Guy! How Can I Create Users and Organizational Units with Active Directory Domain Services Cmdlets?

    Hey, Scripting Guy! I am interested in using Active Directory Domain Services (AD DS) cmdlets to create users and organizational units. Is this a hard thing to do? I only ask this because I am an extremely busy network administrator who has barely had time to begin looking at Windows PowerShell. I do...
  • Blog Post: Weekend Scripter: Create Proxy Addresses in Active Directory with PowerShell

    Summary : Microsoft Scripting Guy, Ed Wilson, shows how to automatically create p roxy addresses in Active Directory Domain Services by using Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. So I have been talking back and forth with one of the members of the Charlotte Windows PowerShell...
  • Blog Post: Keep Your PowerShell Versions Straight and Avoid Errors

    Summary : Learn how to keep your Windows PowerShell versions straight, and avoid errors while using a one-line command to add computers to domain. Microsoft Scripting Guy, Ed Wilson, is here. Earlier this week I wrote Use PowerShell to Replace netdom Commands to Join the Domain . It turned out to...
  • Blog Post: How to Find Active Directory Schema Update History by Using PowerShell

    Summary : Use Windows PowerShell to discover what schema updates have been applied to your Active Directory environment. Microsoft Scripting Guy, Ed Wilson, is here. Today we have as our guest blogger, Ashley McGlone. Ashley is a premier field engineer for Microsoft. He started writing code on a Commodore...