我在用
Import-Module DataProtectionManager
在PowerShell中有权访问DPM cmdlet。 (DPM版本2012R2)
不幸的是, Get-DPMDatasource指出它是一个无法识别的cmdlet。
没有获得数据源,我无法启动恢复点等。
我在这里使用的一个例子是:
$ds = Get-DPMDatasource $DPMServer | where { $_.Id -eq $DataSourceID } # Get tthe datasource affected
另外,我还包括一张照片。 模块导入正常。 powershell ISE可以识别该cmdlet,但是在运行时没有识别?
这些cmdlet需要额外的导入。
使用Import-Module DPMExtendedCmdlets