Summary: Use Get-Command to find cmdlets that need a TimeSpan object for input.
How can I use Windows PowerShell to find which cmdlets will accept a TimeSpan object for input?
Use the ParameterType parameter from the Get-Command cmdlet, for example:
Get-Command -ParameterType timespan
0 comments