jdhitsolutions / PSScriptTools

:wrench: :hammer: A set of PowerShell functions you might use to enhance your own functions and scripts or to facilitate working in the console. Most should work in both Windows PowerShell and PowerShell 7, even cross-platform. Any operating system limitations should be handled on a per command basis. The Samples folder contains demonstration script files
MIT License
875 stars 110 forks source link

ConvertTo-WPFGrid fails to refresh with a timeout #98

Closed jdhitsolutions closed 3 years ago

jdhitsolutions commented 3 years ago

A command like this:

get-service | select  -first 20 -prop name,status,startType,Displayname | convertto-wpfgrid -Title "Service" -Timeout 5 -Refresh

Should create a form that automatically refreshes every 5 seconds. Instead, I am getting an exception: You must specify a timeout value in seconds when using -Refresh

jdhitsolutions commented 3 years ago

Fixed in v2.33.1