PowerTip: Use PowerShell to Create Hash Table

Summary : Use a Windows PowerShell cmdlet to create a hash table. How can I use Windows PowerShell to create a hash table if do not remember the special syntax? Use the ConvertFrom-StringData cmdlet, and put each key-value pair on its own line….(read more)

1

PowerTip: Display a Blinking Message by Using PowerShell

Summary : Use this one-line Windows PowerShell command to display a blinking message. Is there a one-line command that I could use to blink a message in the Windows PowerShell console to get the users attention? Pipe a range of numbers to the Foreach…(read more)

1

PowerTip: Add Computer to Security Group with PowerShell

Summary : Use Active Directory PoweShell cmdlets to add a computer to a security group. How can I use Windows PowerShell to add a computer to a security group? Use the Add-ADGroupMember cmdlet, and remember to use the SAM account name on the computer…(read more)

0

PowerTip: Show Group Members with PowerShell

Summary : Use Windows PowerShell to get a list of group members in Active Directory. How can I use Windows PowerShell to regularly show who is in an Active Directory group, for example, Domain Admins? To show who is in the Domain Admins group in…(read more)

0

PowerTip: Create Computer Account in Active Directory with PowerShell

Summary : Use the Active Directory module to create a new computer account. How can I use Windows PowerShell to create a computer account in Active Directory? To create a new computer called ScriptoPC , execute the following line in an Active Directory…(read more)

0