Showing archive results for March 2013

Mar 18, 2013
Post comments count0
Post likes count0

PowerTip: Avoid Loading the AD: Drive with the Active Directory Module

Doctor Scripto

Summary: Learn how to avoid loading the default AD: drive when you load the Active Directory module for Windows PowerShell.  How can I avoid creating the default AD: drive when I import the Active Directory module for Windows PowerShell?  Use the ENV drive and set the ADPS_LoadDefaultDrive variable to 0. Add the follow...

Scripting Guy!Windows PowerShellPowerTip
Mar 18, 2013
Post comments count0
Post likes count0

Playing with the AD: Drive for Fun and Profit

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using the AD: drive to explore Active Directory Domain Services.  Hey, Scripting Guy! I will confess that I love using the Active Directory module for Windows PowerShell. I love the way I can use Windows PowerShell to create new users or to easily search for and find users and other stuf...

Scripting Guy!Windows PowerShellscripting techniques
Mar 17, 2013
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Identify SSD

Doctor Scripto

Summary: Use Windows PowerShell to find a solid-state drive (SSD).  How can I use Windows PowerShell to find computers that have a solid-state drive (SSD)?  In Windows 8, use the Get-Disk function, and search the model information for the letters SSD: PS C:\> get-disk | ? model -match 'ssd'   Number Friendly Na...

Scripting Guy!Windows PowerShellPowerTip
Mar 17, 2013
Post comments count0
Post likes count0

Weekend Scripter: Use PowerShell to Configure a New Laptop

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to configure a new laptop. Microsoft Scripting Guy, Ed Wilson, is here. WooHoo! My new laptop arrived. Oh, no…I now have a lot of work to do to install and configure Windows 8 on it. You see, I never, never simply turn on and use a new laptop—that is...

Scripting Guy!Windows PowerShellWeekend Scripter
Mar 16, 2013
Post comments count0
Post likes count0

PowerTip: Use PowerShell in to Find Running Tasks

ScriptingGuy1

Summary: Learn how to use Windows PowerShell in Windows 8 or Windows Server 2012 to find running scheduled tasks.  How can I use Windows PowerShell 3.0 in Windows 8 or Windows Server 2012 to find running scheduled tasks? Use the Get-ScheduledTask cmdlet and filter out the state that is equal to running. In the following example,...

Scripting Guy!Windows PowerShellPowerTip