Showing results for Scripting Guy! - Scripting Blog [archived]

Sep 15, 2014
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Find Path for Processes

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to find the path of the executable for running processes.  I noticed a process and I am unsure of what it does. How can I use Windows PowerShell to find more information?  Look at the path to the executable to find information about a process. If it is legitimate, often the folder        ...

Scripting Guy!Windows PowerShellPowerTip
Sep 15, 2014
Post comments count0
Post likes count0

Use PowerShell to Start a Process at Random Times

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to start a process at random intervals.  Hey, Scripting Guy! I have a rather unusual request. I am testing a new monitoring application, and I need a script that will start processes at random intervals so I can check the effectiveness of the solution. Is this so...

Scripting Guy!Windows PowerShellscripting techniques
Sep 13, 2014
Post comments count0
Post likes count0

PowerTip: Find Array Members with Get-Member in PowerShell

Doctor Scripto
Doctor Scripto

Summary: Learn to find members of an array with the Get-Member cmdlet in Windows PowerShell.  I have an array of numbers: 1,2,3,4,5 that I assigned to variable $a. When I pipe it to Get-Member: $a | gm,            all I see are members for int32. How can I find the members of an array by using ...

Scripting Guy!Windows PowerShellPowerTip
Sep 13, 2014
Post comments count0
Post likes count0

Weekend Scripter: The WMI Explorer Tool

Doctor Scripto
Doctor Scripto

Summary: Guest blogger, Vinay Pamnani, talks about a cool new WMI tool. Microsoft Scripting Guy, Ed Wilson, is here. One of the absolutely greatest things about working for Microsoft is the chance to meet (even virtually) and interact with really smart people who absolutely love technology. I recently ran across a post by Vinay (todays guest blogge...

Scripting Guy!Windows PowerShellscripting techniques
Sep 12, 2014
Post comments count0
Post likes count0

PowerTip: Find WMI Classes Related to Services

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to find WMI classes related to services that reveal start mode.  How can I use Windows PowerShell to find a WMI class that will help me identify how services are starting?  Use the Get-CimClass cmdlet, use a wildcard character for the name, and specify StartMode       &nbs...

Scripting Guy!Windows PowerShellPowerTip