Showing archive results for November 2013

Nov 2, 2013
Post comments count0
Post likes count0

PowerTip: Find if Computer has .NET Framework 4.5

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to find if a computer has .NET Framework 4.5. How can I use Windows PowerShell to find if my machine has .NET Framework 4.5 (required for Windows PowerShell 4.0)? Here's a little function that finds this information for you:function Test-Net45{    if (Test-Path 'HKLM:SOFTWAREMicroso...

Scripting Guy!Windows PowerShellPowerTip
Nov 2, 2013
Post comments count0
Post likes count0

How to Write Great Help Examples

Doctor Scripto
Doctor Scripto

Summary: Read these tips to help you write outstanding Windows PowerShell Help. Microsoft Scripting Guy, Ed Wilson, is here. Our guest blogger today is June Blender. June is a writer for the Windows Azure AD SDK. She is also a frequent contributor to the Hey Scripting Guy! blog, and for PowerShell.org. Examples are the most important element of Win...

Scripting Guy!Windows PowerShellscripting techniques
Nov 1, 2013
Post comments count0
Post likes count0

PowerTip: Add User to Group in Active Directory with PowerShell

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to add a user to a security group in Active Directory.  How can I use Windows PowerShell to add a user to a security group in Active Directory?  In Windows Server 2012 R2 or Windows Server 2008 R2, use the Add-ADGroupMember cmdlet. To add a user with a SAM ID “John.Smith” to a sec...

Windows PowerShellPowerTipguest blogger
Nov 1, 2013
Post comments count0
Post likes count0

Building a Demo Active Directory: Part 5

Doctor Scripto
Doctor Scripto

Summary: Add users to random security groups, provide random passwords, and enable accounts. Hey, Scripting Guy!I have created a bunch of users in my sample Active Directory, but I have all these security groups that I need to populate. How can I do that with Windows PowerShell?—BB Hello BB,Honorary Scripting Guy, Sean Kearney here,...

Scripting Guy!Windows PowerShellguest blogger