Connect-DPMServer
Opens a connection to a DPM server.
Syntax
DPMServerName (Default)
Connect-DPMServer
[-DPMServerName] <String>
[-AsyncOperation <AsyncOperation>]
[<CommonParameters>]
DPMServerScope
Connect-DPMServer
[-DPMServerScope] <DpmServerScope>
[-AsyncOperation <AsyncOperation>]
[<CommonParameters>]
Description
The Connect-DPMServer cmdlet opens a connection to a System Center - Data Protection Manager (DPM) server.
By default, the cmdlet looks for a DPM server in the current domain. To connect to a server in another domain, specify the domain name.
Examples
Example 1: Connect to a server
PS C:\>Connect-DPMServer -DPMServerName "DPMServer07.Corporate.Contoso.com"
This command connects to a DPM server named DPMServer07 in the Corporate.Contoso.com domain.
Parameters
-AsyncOperation
Specifies an AsyncOperation object. You can use this parameter to update a GUI that runs in Windows PowerShell, but do not use it in the Windows PowerShell console.
Parameter properties
Type: | AsyncOperation |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-DPMServerName
Specifies the name of a DPM server for which this cmdlet creates a connection.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | ComputerName, CN |
Parameter sets
DPMServerName
Position: | 1 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-DPMServerScope
Specifies a DPM server scope object. To create a DPM scope object, use the New-DPMServerScope cmdlet.
Parameter properties
Type: | DpmServerScope |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
DPMServerScope
Position: | 1 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.