Showing results for April 2014 - Scripting Blog [archived]

Apr 30, 2014
0
0

PowerTip: Use Windows PowerShell to Find Open Files

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell 4.0 in Windows 8.1 to find open SMB file shares.  How can I use Windows PowerShell 4.0 to find open SMB file shares           on my Windows 8.1 computer?  Open the Windows PowerShell console with admin rights,           and use the Get-SMBOpen...

Scripting Guy!Windows PowerShellPowerTip
Apr 30, 2014
0
0

PowerShell Looping: Using While

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about Windows PowerShell looping and looks at using the While statement. Microsoft Scripting Guy, Ed Wilson, is here. One of the things that I see with people coming to Windows PowerShell from VBScript or some other language, is that they seem to like to use the While statement. While there is noth...

Scripting Guy!Windows PowerShellscripting techniques
Apr 29, 2014
0
0

PowerTip: Use PowerShell to Show State of Scheduled Tasks

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to show scheduled jobs that are ready to run.  How can I use Windows PowerShell 4.0 to find scheduled jobs that are ready to run           on my Windows 8.1 computer?  Use the Get-ScheduledTask cmdlet and filter for a state that is equal to ready: Get-S...

Scripting Guy!Windows PowerShellPowerTip
Apr 29, 2014
1
0

PowerShell Looping: Using the Foreach-Object Cmdlet

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using the Foreach-Object cmdlet in Part 2 of the Looping Week series. Microsoft Scripting Guy, Ed Wilson, is here. Today I want to address a major point of confusion for newbie Windows PowerShell scripters. That point is the Foreach-Object cmdlet. Part of the confusion comes with the ali...

Scripting Guy!Windows PowerShellscripting techniques
Apr 28, 2014
0
0

PowerTip: Use PowerShell to Find USB Drives

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell 4.0 function to find USB drives on Windows 8.1.  How can I use Windows PowerShell to find how many drives attached to my system are using USB interfaces?  Open Windows PowerShell 4.0 in Windows 8.1 with admin rights, use the Get-Disk function           to find all disk obj...

Scripting Guy!Windows PowerShellPowerTip