Windows Azure Online Backup Cmdlets in Windows PowerShell
Windows PowerShell® 是基于任务的命令行 shell 和脚本语言,专为系统管理而设计。本参考主题面向信息技术 (IT) 专业人员,可在利用 Windows PowerShell cmdlet 编写脚本和对任务实施自动化时提供协助。
Windows Azure Online Backup
This reference provides cmdlet descriptions and syntax for all Online Backup (OB)-specific cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.
cmdlet | Description |
---|---|
Adds the OBFileSpec object, which specifies the items to include or exclude from a backup, to the backup policy (OBPolicy object). |
|
Shows the user a list of recovery points for each successful backup that was completed from a specific server. |
|
Gets the array of OBAlternateBackupServer objects, that represents all servers that are associated to the specified backup account except for the local server, upon providing valid credentials. |
|
Gets the list of OBFileSpec objects associated with the specified backup policy (OBPolicy object). |
|
Gets a list of operations from a server as OBJob objects. |
|
Gets the OBMachineSetting object for the server with respect to proxy details for accessing the internet, throttling settings and encryption passphrase that will be required to decrypt the files during recovery. |
|
Gets the amount of storage consumed on Windows Azure Online Backup by data backed-up from this server. |
|
Gets array of OBNotification objects which are applicable for the customer. |
|
Gets the current backup policy set for the server. |
|
Gets the PolicyState of the backup policy set for the server. The state can be “Valid” “Deleted” or “paused”. |
|
Gets the array of OBRecoverableItem objects associated with the server. |
|
Specifies the username and password used for authentication to perform the operation. |
|
Gets the current retention policy for backups in the backup policy (OBPolicy object). |
|
Gets the OBSchedule object, which includes the days of the week and times of day to create daily backups, for the specified OBPolicy object. |
|
Creates a new OBFileSpec object based on the parameters that are specified. |
|
Creates a new OBPagingContext object that is used in Get-OBRecoverableItem cmdlet for Search and Browse of paginated recoverable items. |
|
Generates an empty OBPolicy object. |
|
Creates a new OBRecoverableItem for the given path. |
|
Specifies the recovery options that will apply to all the recoverable items during recovery. |
|
Creates a new OBRetentionPolicy specifying the number of days that the backup needs to be retained. |
|
Creates a new OBSchedule object based on the days of the week and times of day to create daily backups. |
|
Removes the list of items to include or exclude from a backup, as specified by the OBFileSpec object, from a backup policy (OBPolicy object). |
|
Removes the currently set backup policy (OBPolicy object). |
|
Maps a backed up volume to its new name after an operating system reinstallation of the backed up server. |
|
Sets a OBMachineSetting object for the server with respect to proxy details for accessing the internet, throttling settings and encryption passphrase that will be required to decrypt the files during recovery. |
|
Sets the OBPolicy object as the backup policy that will be used for scheduled backups. |
|
Takes a policy input and sets the policy’s state. The state can be “Valid” “Deleted” or “paused”. |
|
Sets the retention policy for the backup policy (OBPolicy object). |
|
Sets the OBSchedule object, which includes the days of the week and times of day to create daily backups, for the backup policy (OBPolicy object). |
|
Starts a one-time backup operation based on the specified OBPolicy. |
|
Recovers the array of OBRecoverableItem objects with the specified recovery options in the OBRecoverableOptions object. |
|
Registers the current computer to the Online Backup Service using the credentials (username and password) created during enrollment. |
|
Stops the specified backup or recovery job. |
备注
To list all the cmdlets that are available, use the Get-Command -Module MSOnlineBackup
cmdlet.
More Information
有关任何 cmdlet 或其语法的详细信息,请使用 Get-Help
<cmdlet 名称> cmdlet,其中 *<cmdlet 名称>*是你要搜索的 cmdlet 的名称。若需了解详细信息,可以运行以下任一 cmdlet:
● Get-Help
<cmdlet 名称> -Detailed
● Get-Help
<cmdlet 名称> -Examples
● Get-Help
<cmdlet 名称> -Full