From a4bd3fcc13767ec6eec12e22038a44b7025dfe4f Mon Sep 17 00:00:00 2001 From: Robert van den Nieuwendijk Date: Thu, 1 Feb 2018 14:14:16 +0100 Subject: [PATCH] Create 06 Disabled hosts.ps1 New plugin to retrieve disabled hosts. --- Plugins/06 Disabled hosts.ps1 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Plugins/06 Disabled hosts.ps1 diff --git a/Plugins/06 Disabled hosts.ps1 b/Plugins/06 Disabled hosts.ps1 new file mode 100644 index 0000000..71d5974 --- /dev/null +++ b/Plugins/06 Disabled hosts.ps1 @@ -0,0 +1,11 @@ +$Title = "Disabled hosts" +$Header = "Disabled hosts" +$Comments = "The following hosts are disabled" +$Display = "Table" +$Author = "Robert van den Nieuwendijk" +$Version = 1.0 + +# Start of Settings +# End of Settings + +$CIHost | Where-Object {-not $_.IsEnabled} | Select-Object -Property Name,IsEnabled,VcName