diff --git a/Citrix/Provisioning Services (PVS)/CitrixServersBatchPatch.ps1 b/Citrix/Provisioning Services (PVS)/CitrixServersBatchPatch.ps1 new file mode 100644 index 0000000..2fc01a9 --- /dev/null +++ b/Citrix/Provisioning Services (PVS)/CitrixServersBatchPatch.ps1 @@ -0,0 +1,18 @@ +# List all Citrix Farm Devices with Collection Name and Type, ready for txt Import to Batchpatch + +# Load PowerShell SnapIn +Import-Module “C:\Program Files\Citrix\Provisioning Services Console\Citrix.PVS.SnapIn.dll” + +# List all Devices ready for Import to BatchPatch + $citrixservers = Get-PvsDeviceInfo | select DeviceName,CollectionName,Type + + ForEach ($server in $citrixservers) + { +# Store in Variables + $DeviceName = $server.DeviceName + $CollectionName = $server.CollectionName + $Type = $server.Type + +# Write for BatchPatch + Write “$DeviceName |$CollectionName ||$Type” >> ./CitrixServersBatchPatch.txt + }