Showing tag results for Scripting Guy!

Feb 1, 2016
Post comments count0
Post likes count0

PowerShell spotlight: February 2016

Doctor Scripto

Summary: Windows PowerShell MVP, Teresa Wilson, shares her roundup of Windows PowerShell activities for the coming months. Hello scripters, Teresa Wilson here. I hope you had a marvelous weekend and are ready to tackle this week. Ed is finally getting back to normal and we have a few trips coming up—all Windows PowerShell related. Arizona PowerShel...

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

PowerTip: Use PowerShell to view properties and their values for a .NET Framework class

Doctor Scripto

Summary: Learn how to view properties and the associated values of those properties of .NET Framework classes with Windows PowerShell.  How can I use Windows PowerShell to view the properties and their values from a .NET Framework class,            such as System.String?  Use the Type accelerator [string], pi...

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

PowerTip: Find properties of .NET Framework class with PowerShell

Doctor Scripto

Summary: Learn how to use Windows PowerShell to display properties of a .NET Framework class.  How can I use Windows PowerShell to easily display properties of a .NET Framework class?  Pipe the type accelerator to the Get-Member cmdlet and specify the MemberType property,            for example: [string] | gm...

Scripting Guy!Windows PowerShellPowerTip
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