Showing tag results for scripting techniques

Feb 10, 2016
Post comments count0
Post likes count0

Using the PowerShell CIM cmdlets for fun and profit

Doctor Scripto
Doctor Scripto

Summary: Learn how to use CIM cmdlets for better speed, security, and data return as opposed to the WMI cmdlets in Windows PowerShell. The other day, Windows PowerShell MVP, Richard Siddaway, posted Should I use CIM or WMI with Windows PowerShell? Today, I would like to continue that discussion a little bit. You should read Richard’s blog post bef...

Scripting Guy!Windows PowerShellscripting techniques
Jan 23, 2016
Post comments count0
Post likes count0

PowerTip: Create list of approved PowerShell verbs

Doctor Scripto
Doctor Scripto

Summary: Learn how to easily produce a list of approved Windows PowerShell verbs.  How can I find what verbs are approved for use in a Windows PowerShell function?  Use the Get-Verb cmdlet, and to make it easy to peruse, send the output to the Out-GridView cmdlet: get-verb | Out-GridView

Scripting Guy!Windows PowerShellscripting techniques
Jan 20, 2016
Post comments count0
Post likes count0

PowerTip: Use PowerShell to return first two lines of file

Doctor Scripto
Doctor Scripto

Summary: Learn how to use Windows PowerShell to return the first two lines of a text file. How can I use Windows PowerShell to easily return the first two lines of a text file? Use the Get-Content cmdlet and specify the TotalCount parameter. In this example, TotalCount is set         ...

Scripting Guy!Windows PowerShellscripting techniques
Jan 19, 2016
Post comments count0
Post likes count0

PowerTip: Find related cmdlet aliases

Doctor Scripto
Doctor Scripto

Summary: Learn how to find aliases related to a series of cmdlets. How can I find aliases that are related to a series of Windows PowerShell cmdlets, such as processes? Use the Get-Alias cmdlet and specify a wildcard character for the definition parameter, for example:Get-Alias -Definition "*process"

Scripting Guy!Windows PowerShellscripting techniques
Jan 14, 2016
Post comments count0
Post likes count0

Use PowerShell to Work with Data from MS OMS

Doctor Scripto
Doctor Scripto

Summary: Ed Wilson, Microsoft Scripting Guy, talks about using Windows PowerShell to parse data obtained from Microsoft Operations Management Suite. Microsoft Scripting Guy, Ed Wilson, is here. One of the things I have been working on a lot the past month is the new Microsoft Operations Management Suite Blog. For one thing, it is on the new bloggin...

Scripting Guy!Windows PowerShellscripting techniques