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

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

Syntax
New-BESharePointSharedServiceProviderSelection [-ServiceProviderName] [<String>] [-Exclude [<SwitchParameter>]] [<CommonParameters>]
Description

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

Parameters

-ServiceProviderName <String>

Specifies the name of a shared service provider.


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


-Exclude <SwitchParameter>

Excludes the service provider specified with the -ServiceProviderName 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-BESharePointSharedServiceProviderSelection.

Return Value
BackupExec.Management.CLI.BESharePointSharedServiceProviderSelection

New-BESharePointSharedServiceProviderSelection returns an BESharePointSharedServiceProviderSelection object.

Examples

Example 1

C:\PS> $x = New-BESharePointSharedServiceProviderSelection -ServiceProviderName "SharePointProv1"
C:\PS> Get-BEAgentServer -Local | New-BEBackupDefinition -BackupJobDefault BackupToDisk -SharePointSharedServiceProviderSelection $x | Save-BEBackupDefinition

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


Example 2
C:\PS> $x = "SharePointProv1" | New-BESharePointSharedServiceProviderSelection
C:\PS> Get-BEAgentServer -Local | Submit-BEOnetimeBackupJob -SharePointSharedServiceProviderSelection $x

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

Related Links

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