Scripting Blog

A place to learn about PowerShell and share stories of automation

PowerTip: Determine What Character a String Starts With

Summary: Use Windows PowerShell to determine what character a string starts with.  How can I use Windows PowerShell to show me if a string starts with a particular letter (this also needs to be           case sensitive)?  Use the StartsWith method from the String class, and supply the...
Comments are closed.0 0

Working with Users in Active Directory

Summary: Ed Wilson, Microsoft Scripting Guy, talks about using Windows PowerShell to work with users in Active Directory Domain Services.  Hey, Scripting Guy! We are a rather diversified IT shop, but we have a heavy investment in Microsoft, and particularly in Active Directory. We use it for everything. I need to be able to update user ...
Comments are closed.0 0

PowerTip: Convert All Uppercase String to Lowercase

Summary: Use Windows PowerShell to convert a string to all lowercase characters.  How can I use Windows PowerShell to convert a string that is in all uppercase to all lowercase characters?  Use the ToLower method from the String class: "STRING".ToLower...

Create Users in Active Directory Without Using Module

Summary: Ed Wilson, Microsoft Scripting Guy, talks about creating users in Active Directory Domain Services without using a module. Hey, Scripting Guy! In my company, we do a lot of work with Active Directory, and my team is responsible for this. But not all of the administrators have the Active Directory module, so I cannot assume that it ...
Comments are closed.0 0