vmware / PowerCLI-Example-Scripts

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

Address the Set-HvFarm error when trying to pass the value of $False to the flag -Value #469

Closed ntpbnh15 closed 3 years ago

ntpbnh15 commented 3 years ago

This PR is meant to address the issue of Set-HvFarm erroring out when passing the value of $False to the -Value flag like so:

Set-HvFarm -FarmName $farmName -Key $keyName -Value $False

This fix is based on an earlier PR that has been merged: https://github.com/vmware/PowerCLI-Example-Scripts/pull/131

vmwclabot commented 3 years ago

@trphuongnam15, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding Signed-off-by: John Doe <john.doe@email.org> to the last line of each Git commit message. The e-mail address used to sign must match the e-mail address of the Git author. Click here to view the Developer Certificate of Origin agreement.