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

Creates a backup selection object for Microsoft SharePoint 2007 and 2010 shared service applications.

Syntax
New-BESharePointSharedServiceApplicationSelection [[-ApplicationName] [<String>]] [-Exclude [<SwitchParameter>]] [<CommonParameters>]
Description

Creates a backup selection object for Microsoft SharePoint 2007 and 2010 shared service applications.

Parameters

-ApplicationName <String>

Specifies the name of a shared service application. Specify '*' to indicate all available shared service applications.


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


-Exclude <SwitchParameter>

Excludes the shared service selection specified with the -ApplicationName 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-BESharePointSharedServiceApplicationSelection.

Return Value
BackupExec.Management.CLI.BESharePointSharedServiceApplicationSelection

New-BESharePointSharedServiceApplicationSelection returns an BESharePointSharedServiceApplicationSelection object.

Examples

Example 1

C:\PS> $x = New-BESharePointSharedServiceApplicationSelection -ApplicationName "SharePointApp1"
C:\PS> Get-BEAgentServer -Local | New-BEBackupDefinition -BackupJobDefault BackupToDisk -SharePointSharedServiceApplicationSelection $x | Save-BEBackupDefinition

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


Example 2
C:\PS> $x = "SharePointApp1" | New-BESharePointSharedServiceApplicationSelection
C:\PS> Get-BEAgentServer -Local | Submit-BEOnetimeBackupJob -SharePointSharedServiceApplicationSelection $x

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

Related Links

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