Showing archive results for 2014

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
Sep 13, 2014
Post comments count0
Post likes count0

Weekend Scripter: The WMI Explorer Tool

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

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