File tree Expand file tree Collapse file tree 9 files changed +19
-11
lines changed
Expand file tree Collapse file tree 9 files changed +19
-11
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ function Get-AbrHRZADDomain {
55 . DESCRIPTION
66 Documents the configuration of VMware Horizon in Word/HTML/XML/Text formats using PScribo.
77 . NOTES
8- Version: 1.1.5
8+ Version: 1.1.7
99 Author: Chris Hildebrandt, Karl Newick
1010 Twitter: @childebrandt42, @karlnewick
1111 Editor: Jonathan Colon, @jcolonfzenpr
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ function Get-AbrHRZCertMgmt {
55 . DESCRIPTION
66 Documents the configuration of VMware Horizon in Word/HTML/XML/Text formats using PScribo.
77 . NOTES
8- Version: 1.1.5
8+ Version: 1.1.7
99 Author: Chris Hildebrandt, Karl Newick
1010 Twitter: @childebrandt42, @karlnewick
1111 Editor: Jonathan Colon, @jcolonfzenpr
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ function Get-AbrHRZConnectionServer {
55 . DESCRIPTION
66 Documents the configuration of VMware Horizon in Word/HTML/XML/Text formats using PScribo.
77 . NOTES
8- Version: 1.1.5
8+ Version: 1.1.6
99 Author: Chris Hildebrandt, Karl Newick
1010 Twitter: @childebrandt42, @karlnewick
1111 Editor: Jonathan Colon, @jcolonfzenpr
@@ -108,8 +108,16 @@ function Get-AbrHRZConnectionServer {
108108 ' IP Mode' = $ConnectionServer.General.IpMode
109109 ' FIPs Mode Enabled' = $ConnectionServer.General.FipsModeEnabled
110110 ' Replication Status' = $ConnectionServerHealthData.ReplicationStatus.Status
111- ' Current CPU Usage Percentage' = $ ($ConnectionServerHealthData.ResourcesData.CpuUsagePercentage ).ToString() + ' %'
112- ' Current Memory Usage Percentage' = $ ($ConnectionServerHealthData.ResourcesData.MemoryUsagePercentage ).ToString() + ' %'
111+ ' Current CPU Usage Percentage' = switch ([string ]::IsNullOrEmpty($ConnectionServerHealthData.ResourcesData.CpuUsagePercentage )) {
112+ $true { ' --' }
113+ $false { " $ ( $ConnectionServerHealthData.ResourcesData.CpuUsagePercentage ) %" }
114+ default { ' Unknown' }
115+ }
116+ ' Current Memory Usage Percentage' = switch ([string ]::IsNullOrEmpty($ConnectionServerHealthData.ResourcesData.MemoryUsagePercentage )) {
117+ $true { ' --' }
118+ $false { " $ ( $ConnectionServerHealthData.ResourcesData.MemoryUsagePercentage ) %" }
119+ default { ' Unknown' }
120+ }
113121 }
114122
115123 $OutObj = [pscustomobject ](ConvertTo-HashToYN $inObj )
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ function Get-AbrHRZDatastore {
55 . DESCRIPTION
66 Documents the configuration of VMware Horizon in Word/HTML/XML/Text formats using PScribo.
77 . NOTES
8- Version: 1.1.5
8+ Version: 1.1.7
99 Author: Chris Hildebrandt, Karl Newick
1010 Twitter: @childebrandt42, @karlnewick
1111 Editor: Jonathan Colon, @jcolonfzenpr
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ function Get-AbrHRZEventConf {
55 . DESCRIPTION
66 Documents the configuration of VMware Horizon in Word/HTML/XML/Text formats using PScribo.
77 . NOTES
8- Version: 1.1.5
8+ Version: 1.1.7
99 Author: Chris Hildebrandt, Karl Newick
1010 Twitter: @childebrandt42, @karlnewick
1111 Editor: Jonathan Colon, @jcolonfzenpr
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ function Get-AbrHRZFarm {
55 . DESCRIPTION
66 Documents the configuration of VMware Horizon in Word/HTML/XML/Text formats using PScribo.
77 . NOTES
8- Version: 1.1.5
8+ Version: 1.1.7
99 Author: Chris Hildebrandt, Karl Newick
1010 Twitter: @childebrandt42, @karlnewick
1111 Editor: Jonathan Colon, @jcolonfzenpr
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ function Get-AbrHRZHCConnection {
55 . DESCRIPTION
66 Documents the configuration of VMware Horizon in Word/HTML/XML/Text formats using PScribo.
77 . NOTES
8- Version: 1.1.5
8+ Version: 1.1.7
99 Author: Chris Hildebrandt, Karl Newick
1010 Twitter: @childebrandt42, @karlnewick
1111 Editor: Jonathan Colon, @jcolonfzenpr
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ function Get-AbrHRZRegisteredMachine {
55 . DESCRIPTION
66 Documents the configuration of VMware Horizon in Word/HTML/XML/Text formats using PScribo.
77 . NOTES
8- Version: 1.1.5
8+ Version: 1.1.7
99 Author: Chris Hildebrandt, Karl Newick
1010 Twitter: @childebrandt42, @karlnewick
1111 Editor: Jonathan Colon, @jcolonfzenpr
Original file line number Diff line number Diff line change 55 . DESCRIPTION
66 Documents the configuration of VMware Horizon in Word/HTML/XML/Text formats using PScribo.
77 . NOTES
8- Version: 1.1.5.1
8+ Version: 1.1.7
99 Author: Chris Hildebrandt, Karl Newick
1010 Twitter: @childebrandt42, @karlnewick
1111 Editor: Jonathan Colon, @jcolonfzenpr
You can’t perform that action at this time.
0 commit comments