Microsoft Office Tutorials and References
In Depth Information
DPM scripts
° –UserName : The user account to use.
° –Password : Password for the user account. Do not pass this value
through the command-line. Run the command and wait to be
prompted for the password.
° –DomainName : The domain to which the user account belongs.
° –ProductionServer : A server that has a DPM agent installed on it.
Example of syntax:
Start-ProductionServerSwitchProtection -ProtectionTypeprimary –
UserName administrator -Password12345 -DomainName –
Set-PerformanceOptimization cmdlet can enable and disable on-wire
compression of data when it goes across the network from your DPM server.
This can be useful when you are running into network performance issues.
Parameters for this cmdlet are:
° –ProtectionGroup : The name of a protection group.
° –DisableCompression : Indicates that on-wire compression of data
must be disabled.
° –EnableCompression : Indicates that throttling must be enabled.
° –PassThru : Using the -PassThru parameter allows such cmdlets to
be part of a pipeline.
Example of syntax:
Set-PerformanceOptimization -ProtectionGroup $pg1
DPM scripts
As you may know with most command-line tools you can write scripts to automate
tasks. DMS is no exception to this. In fact, one of the major purposes of PowerShell is
to give IT professionals a powerful scripting tool. By default DPM comes preloaded
with some scripts. As stated previously, you can type Get-DPMSampleScript in
DMS and this will give you a list of the available DPM scripts. These scripts are
located in the DPM %systemdrive%\Program Files\Microsoft DPM\DPM\bin\
directory and here is what they are along with an explanation of what they do:
Attach-NonDomainServer.ps1 : This script can be used to add a
workgroup server to a Protection Group on a DPM server after installing
the DPM agent manually.
Search JabSto ::

Custom Search