Backup Exec Management Command Line Interface Help
New-BESharePointServiceApplicationProxySelection Cmdlet
Synopsis

Creates a backup selection object for Microsoft SharePoint 2007 and 2010 service application proxies.

Syntax
New-BESharePointServiceApplicationProxySelection [-ProxyName] [<String>] [-Exclude [<SwitchParameter>]] [<CommonParameters>]
Description

Creates a backup selection object for Microsoft SharePoint 2007 and 2010 service application proxies.

Parameters

-ProxyName <String>

Specifies the name of a service application proxy. Specify '*' to indicate all available service application proxies.


Required true
Position 0
Accepts pipeline input true (ByValue ByPropertyName)
Accepts wildcard characters false


-Exclude <SwitchParameter>

Excludes the service application proxies specified with -ProxyName parameter.


Required false
Position Named
Accepts pipeline input false
Accepts wildcard characters false


<CommonParameters>

For more information about common parameters, type "Get-Help about_commonparameters".

Input Type
System.String

You can pipe a string object to New-BESharePointServiceApplicationProxySelection.

Return Value
BackupExec.Management.CLI.BESharePointServiceApplicationProxySelection

New-BESharePointServiceApplicationProxySelection returns an BESharePointServiceApplicationProxySelection object.

Examples

Example 1

C:\PS> $x = New-BESharePointServiceApplicationProxySelection -ProxyName "ServiceProxy"
C:\PS> Get-BEAgentServer -Local | New-BEBackupDefinition -BackupJobDefault BackupToDisk -SharePointServiceApplicationProxySelection $x | Save-BEBackupDefinition

These commands create a backup definition that backs up the service application proxy named "ServiceProxy" for the local computer using the "BackupToDisk" job defaults.


Example 2
C:\PS> $x = "ServiceProxy"|New-BESharePointPortalSiteSelection
C:\PS> Get-BEAgentServer -Local | Submit-BEOnetimeBackupJob -SharePointServiceApplicationProxySelection $x

These commands submit a one-time backup job that backs up the service application proxy named "ServiceProxy" on the local computer.

Related Links

Get-BEAgentServer
New-BEBackupDefinition
Save-BEBackupDefinition
New-BESharePointPortalSiteSelection
Submit-BEOnetimeBackupJob