Citrix Provisioning Services Health Check Script Update Version 1.25

While working on the V2 PVS Health Check script, I found several bugs. I backported those fixes into this V1 script update.

Version 1.25 6-Mar-2022

  • Added MultiSubnetFailover to Farm Status section
    • Thanks to Arnaud Pain
    • I can’t believe no one has asked for this since PVS 7.11 was released on 14-Sep-2016
  • Fixed a bug in Function GetInstalledRolesAndFeatures that didn’t handle the condition of no installed Roles or Features
    • Thanks to Arnaud Pain for reporting this
  • Fixed bug when retrieving a Device Collection’s Administrators and Operators
    • I was not comparing to the specific device collection name, which returned all administrators and operators for all device collections and not the device collection being processed
  • Fixed several incorrect variable names
  • Format the Farm, Properties, Status section to match the console output
  • In Function GetConfigWizardInfo, fix $PXEServices to work with PVS7+
    • If DHCPType is equal to 1073741824, then if PXE is set to PVS, in PVS V5/6, PXEType is set to 0, but in PVS7, PXEType is set to 1
    • Updated the function to check for both 0 and 1 values

You can always find the most current script by going to https://www.carlwebster.com/where-to-get-copies-of-the-documentation-scripts/

Thanks

Webster