vmware / PowerCLI-Example-Scripts

http://blogs.vmware.com/powercli
Other
757 stars 603 forks source link

Update VMware.HV.Helper.psm1 #521

Closed bwuch closed 2 years ago

bwuch commented 2 years ago

Fixes #364 - Get-HVEvent timeout issue Changes to line 877-879 adds help for a new SqlTimeout parameter added to Get-HVEvent Changes to line 931-934 add support for the new SqlTimeout parameter with a default value of 30 seconds. Changes to line 1064 implements the timeout parameter created above when executing the query.

The change to line 1031 resolves an unrelated issue where I was seeing an extra '1' in the output from Get-HVEvent. Adding the Out-Null statement is similar to another example in this same function which already existed on line 1065. Adding the Out-Null statement did resolve the extra '1' displayed in the output.

Signed-off-by: Brian Wuchner brian.wuchner@gmail.com