Get-OBFileSpec
Updated: April 4, 2013
Applies To: Windows Server 2012
Get-OBFileSpec
Syntax
Parameter Set: Default Get-OBFileSpec [-Policy] <CBPolicy> [ <CommonParameters>]
Detailed Description
The Get-OBFileSpec cmdlet gets the list of OBFileSpec[] objects associated with the specified backup policy (OBPolicy object). The OBFileSpec[] objects define what items will be included or excluded from backups created using the backup policy. Use the New-OBFileSpec and Add-OBFileSpec cmdlets to define and apply changes to the backup policy.
To use Windows Azure Backup cmdlets, the user must be a member of the Administrators group or Backup Operators group.
Parameters
-Policy<CBPolicy>
Specify the policy from which to obtain the list of file specifications.
|
Aliases |
none |
|
Required? |
true |
|
Position? |
1 |
|
Default Value |
none |
|
Accept Pipeline Input? |
true (ByValue) |
|
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
- None
Outputs
The output type is the type of the objects that the cmdlet emits.
- Microsoft.Internal.CloudBackup.Commands.OBFileSpec[]
Examples
EXAMPLE 1
This example gets the file specification for a given policy.
PS C:\> Get-OBPolicy | Get-OBFileSpec
Related topics
