Answered by:
determine which VM's are not protected - DPM 1807 with Hyper-V 2016 Cluster

Question
-
Answers
-
Hello Jeff,
I'm not sure if you can get the guest VM's protection status, but you can determine servers/clients that have an agent installed by using the Get-DPMProductionServer cmdlet and then basically select the agents that have no protected datasources, I'll give you an example below.
Example:
Get-DPMProductionServer -DPMServerName <YourDPMServer> | Where-Object {$_.ServerProtectionState -eq "NoDatasourcesProtected"}
Best regards,
Leon
Blog:
https://thesystemcenterblog.com LinkedIn:
- Edited by Leon Laude Monday, April 8, 2019 7:01 PM
- Marked as answer by Jeff Regehr Monday, April 8, 2019 7:22 PM
All replies
-
Hello Jeff,
I'm not sure if you can get the guest VM's protection status, but you can determine servers/clients that have an agent installed by using the Get-DPMProductionServer cmdlet and then basically select the agents that have no protected datasources, I'll give you an example below.
Example:
Get-DPMProductionServer -DPMServerName <YourDPMServer> | Where-Object {$_.ServerProtectionState -eq "NoDatasourcesProtected"}
Best regards,
Leon
Blog:
https://thesystemcenterblog.com LinkedIn:
- Edited by Leon Laude Monday, April 8, 2019 7:01 PM
- Marked as answer by Jeff Regehr Monday, April 8, 2019 7:22 PM
-
-
That's great! I don't have a cluster to test, with but I'm glad you found a way to retrieve this information, this can certainly be helpful for the community!
Blog:
https://thesystemcenterblog.com LinkedIn: