Share via

DPM Automation

Sai Phaneendra Allamraju 11 Reputation points
2021-06-01T09:48:42.96+00:00

HI

I am trying to automate the process of creating a protection group and adding the agents to it and while doing this process i got below error message while getting the datasource. can someone please guide me on this please?

$PObjects = Get-DPMDatasource -ProductionServer "$servername"
Get-DPMDatasource : Cannot bind parameter 'ProductionServer'. Cannot convert the "" value of type "System.String" to type
"Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.OMCommon.ProductionServer".
At line:1 char:49

  • $PObjects = Get-DPMDatasource -ProductionServer "$servername"

PS : please ignore the tags for this question as i am not getting the right tag for this DPM

Community Center | Not monitored
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.