Showing results for October 2013 - Page 2 of 13 - Scripting Blog [archived]

Oct 29, 2013
0
0

Building a Demo Active Directory: Part 2

Doctor Scripto
Doctor Scripto

Summary: Build Windows PowerShell variables to design an organizational unit structure.  Hey, Scripting Guy! Can Windows PowerShell provide a consistent way to build a demo structure in Active Directory that includes organizational units and security groups? —RL  Hello RL, Honorary Scripting Guy, Sean Kearney here, filling in for ...

Scripting Guy!Windows PowerShellguest blogger
Oct 28, 2013
0
0

PowerTip: Rename a Computer with PowerShell

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to rename a newly created computer.  How can I use Windows PowerShell to rename a computer if I don’t know the machine name?  Use the Rename-Computer cmdlet and the built in HOSTNAME command, then reboot the computer.           For example, to rename a...

Scripting Guy!Windows PowerShellPowerTip
Oct 28, 2013
0
0

Building a Demo Active Directory: Part 1

Doctor Scripto
Doctor Scripto

Summary: Leverage Windows PowerShell in Windows Server 2012 to create a new Active Directory forest.  Hey, Scripting Guy! I often have to put together demo environments, and I need a new empty Active Directory forest. Is there any way I can do this faster than by using the GUI…maybe with Windows PowerShell? —TM  Hello TM...

Scripting Guy!Windows PowerShellguest blogger
Oct 27, 2013
0
0

PowerTip: Use CIM Cmdlets to Find WMI Classes

Doctor Scripto
Doctor Scripto

Summary: Use the CIM cmdlets in Windows PowerShell to find associated WMI classes. How can I find the associated classes for a WMI object? Use the Windows PowerShell 3.0 CIM cmdlets.First get the WMI object for which you want find the associated classes:$group = Get-CimInstance -ClassName Win32_Group  -Filter "Name = '...

Windows PowerShellscripting techniquesPowerTip
Oct 27, 2013
0
0

The Admin’s First Steps: Local Group Membership

Doctor Scripto
Doctor Scripto

Summary: Richard Siddaway talks about using Windows PowerShell to discover the membership of local groups.  Hey, Scripting Guy! I’ve just starting using Windows PowerShell to administer my systems, and I’ve been told I need to check the membership of local groups on all my servers. How can I do that? — AK  Hello AK, ...

Scripting Guy!Windows PowerShellscripting techniques