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...
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 ...
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...
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 ...
Summary: Use Windows PowerShell to select two random numbers from twenty possible numbers.
How can I use Windows PowerShell to select two of twenty attendees at user group to receive prizes?
Create a range of input numbers with the Get-Random cmdlet, then use the –Count parameter to retrieve &...