This is what I get when I run the script:
Windows PowerShell transcript start
Start time: 20150216140916
Username : AD\chapan
Machine
: ITMD-1D0ZCZ1 (Microsoft Windows NT 6.1.7601 Service Pack 1)
**********************
Transcript started, output file is c:\temp\cmh.txt
PS C:\Program Files\Microsoft Data Protection Manager\DPM2012R2\bin> migrate-datasource -dpmservername scdpm -option auto -psname tv25.ad.milwaukee.gov
WARNING: Connecting to DPM server: scdpm
Running inquiry on the PS
Finished running inquiry
NEW-OBJECT : Exception calling ".ctor" with "0" argument(s):
"DatabaseInfoRegKey RegKey shouldn't be null"
At C:\Program Files\Microsoft Data Protection
Manager\DPM2012R2\bin\Migrate-DataSource.ps1:47 char:12
+ $ctx = NEW-OBJECT -Typename
Microsoft.Internal.EnterpriseStorage.Dls.DB.SqlC ...
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [New-Object], MethodInvoca
tionException
+ FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.Power
Shell.Commands.NewObjectCommand
You cannot call a method on a null-valued expression.
At C:\Program Files\Microsoft Data Protection
Manager\DPM2012R2\bin\Migrate-DataSource.ps1:49 char:5
+ $ctx.open()
+ ~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
You cannot call a method on a null-valued expression.
At C:\Program Files\Microsoft Data Protection
Manager\DPM2012R2\bin\Migrate-DataSource.ps1:51 char:5
+ $cmd = $ctx.createcommand()
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
The property 'commandtext' cannot be found on this object. Verify that the
property exists and can be set.
At C:\Program Files\Microsoft Data Protection
Manager\DPM2012R2\bin\Migrate-DataSource.ps1:53 char:5
+ $cmd.commandtext = $query
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : PropertyNotFound
You cannot call a method on a null-valued expression.
At C:\Program Files\Microsoft Data Protection
Manager\DPM2012R2\bin\Migrate-DataSource.ps1:55 char:5
+ $reader = $cmd.executereader()
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
You cannot call a method on a null-valued expression.
At C:\Program Files\Microsoft Data Protection
Manager\DPM2012R2\bin\Migrate-DataSource.ps1:64 char:5
+ $reader.close()
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
You cannot call a method on a null-valued expression.
At C:\Program Files\Microsoft Data Protection
Manager\DPM2012R2\bin\Migrate-DataSource.ps1:66 char:5
+ $cmd.dispose()
+ ~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
You cannot call a method on a null-valued expression.
At C:\Program Files\Microsoft Data Protection
Manager\DPM2012R2\bin\Migrate-DataSource.ps1:68 char:5
+ $ctx.close()
+ ~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Could not find any volumes for migrating automatically
PS C:\Program Files\Microsoft Data Protection Manager\DPM2012R2\bin> stop-transcript
**********************
Windows PowerShell transcript end
End time: 20150216141026
**********************