August 7th, 2014

PowerTip: Find Syntax for PowerShell Method

Doctor Scripto
Scripter

Summary: Use Windows PowerShell to find the syntax for a method.

Hey, Scripting Guy! Question I am trying to figure out how to use a .NET Framework method, but it is not working.
           How can I get a better idea of what to do?

Hey, Scripting Guy! Answer Call the method with no parenthesis or parameters, for example:

[DateTime]::DaysInMonth

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.