Using:
import-module DataProtectionManager
import-module DPMExtendedCmdlets
I have access to the cmdlet New-DPMRecoveryPoint
In the Microsoft Documentation it says there is a parameter called DiskRecoveryPointOption
https://technet.microsoft.com/en-us/library/hh881586(v=sc.20).aspx
However, When using this parameter it seems it errors saying 'parameter not found'
Strangely also. Using the 'Get-Help' Cmdlet on this seems that this paramter is not shown?
I am using DPM 2012R2 (Which is the version stated on the microsoft page for this cmdlet)
Also my usage is like this...
New-DPMRecoveryPoint -Datasource $ds -Disk -DiskRecoveryPointOption withsynchronize
Can anyone tell me why I am unable to use this parameter?
Strangely there seems to be two different implementations of
New-DPMRecoveryPoint
:Which results in the following:
You can inspect the help for the implementation from each of those modules:
It reveals that
DataProtectionManager\New-DPMRecoveryPoint
has a parameter set as follows:That's a close-but-not-exact match to the online documentation. You can get the documentation that matches your installed implementation like this: