Showing tag results for Windows PowerShell

Jan 30, 2016
Post comments count0
Post likes count0

PowerTip: Find information about .NET Framework method with PowerShell

Doctor Scripto

Summary: Learn how to use Windows PowerShell to find information about a .NET framework method.  How can I use Windows PowerShell to find basic information about a particular .NET Framework method?  Use the GetMethod method from the class, for example:  [math].GetMethod("Tan") Note  The method name is case sensitive an...

Scripting Guy!Windows PowerShellPowerTip
Jan 29, 2016
Post comments count0
Post likes count0

PowerTip: Return remainder after dividing two numbers

Doctor Scripto

Summary: Use Windows PowerShell to return the remainder after dividing two numbers.  How can use Windows PowerShell to divide two numbers and only return the remainder (called a modulo operation)?  In Windows PowerShell, the modulo operator is the % sign. Here are a few examples of how to use it: PS C:\> 3 % 2 ...

Scripting Guy!Windows PowerShellPowerTip
Jan 29, 2016
Post comments count0
Post likes count0

How to contribute to PowerShell documentation

Doctor Scripto

Summary: Learn how to contribute to Windows PowerShell documentation via various community initiatives. Today’s guest blog post is by Microsoft premier field engineer, Ashley McGlone. He will be speaking at PowerShell Saturday, so come join us for a great day of PowerShell learning. For more information, see PowerShell Saturday in Tampa, FL, March...

Scripting Guy!Windows PowerShellguest blogger
Jan 28, 2016
Post comments count0
Post likes count0

PowerTip: Add number to existing variable value

Doctor Scripto

Summary: Learn how to easily add a number to an existing value stored in a variable and update the value of the variable.  How can I use Windows PowerShell to add a number to a value stored in a variable so that I can update the            value in that variable with the number and store the number back into the v...

Scripting Guy!Windows PowerShellPowerTip
Jan 28, 2016
Post comments count0
Post likes count0

Use PowerShell to parse event log for shutdown events

Doctor Scripto

Summary: Using the Windows PowerShell Get-EventLog cmdlet makes it easy to parse the system event log for shutdown events. One of the great things about central Florida during this time of the year is that there are certain fruits, such as red grapefruit, that are in season. This is also true of a certain variety of tangelo that is super sweet. How...

Scripting Guy!Windows PowerShellevents and monitoring