Showing archive results for September 2014

Sep 15, 2014
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Find Path for Processes

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

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 14, 2014
Post comments count1
Post likes count0

PowerTip: Use Windows PowerShell to Open Word Document

Doctor Scripto

Summary: Learn how to use Windows PowerShell to open a Microsoft Word document.  How can I open a Word document with Windows PowerShell?  Use the New-Object cmdlet: $Filename='C:\HappyBirthdayEd.docx' $Word=NEW-Object –comobject Word.Application $Document=$Word.documents.open($Filename) You can now programmatical...

Windows PowerShellPowerTipguest blogger
Sep 14, 2014
Post comments count0
Post likes count0

Weekend Scripter: Manipulating Word and Excel with PowerShell

Doctor Scripto

Summary: Leverage the Office API to manipulate data in Word and Excel with Windows PowerShell. Honorary Scripting Guy, Sean Kearney, is here today to give Ed the day off. Why? Well, it's his birthday, of course! People worldwide have been sending Ed Happy Birthday wishes. His inbox almost went offline with so many "Happy Birthdays" c...

Windows PowerShellguest bloggerWeekend Scripter
Sep 13, 2014
Post comments count0
Post likes count0

PowerTip: Find Array Members with Get-Member in PowerShell

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