Connect-DPMServer
Opens a connection to a DPM server.
Syntax
Connect-DPMServer
[-DPMServerName] <String>
[-AsyncOperation <AsyncOperation>]
[<CommonParameters>]
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.
Type: | AsyncOperation |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DPMServerName
Specifies the name of a DPM server for which this cmdlet creates a connection.
Type: | String |
Aliases: | ComputerName, CN |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DPMServerScope
Specifies a DPM server scope object. To create a DPM scope object, use the New-DPMServerScope cmdlet.
Type: | DpmServerScope |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
DpmServer