Set-DPMCloudSubscriptionSetting

Set-DPMCloudSubscriptionSetting

Updates subscription settings in Windows Azure Online Backup for a DPM server.

構文

Parameter Set: Commit
Set-DPMCloudSubscriptionSetting [[-DPMServerName] <String> ] [-SubscriptionSetting] <CloudSubscriptionSetting> [-Commit] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: Encryption
Set-DPMCloudSubscriptionSetting [[-DPMServerName] <String> ] [-SubscriptionSetting] <CloudSubscriptionSetting> [-EncryptionPassphrase] <SecureString> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: NoProxy
Set-DPMCloudSubscriptionSetting [[-DPMServerName] <String> ] [-SubscriptionSetting] <CloudSubscriptionSetting> [-NoProxy] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: NoThrottle
Set-DPMCloudSubscriptionSetting [[-DPMServerName] <String> ] [-SubscriptionSetting] <CloudSubscriptionSetting> [-NoThrottle] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: ProxyServer
Set-DPMCloudSubscriptionSetting [[-DPMServerName] <String> ] [-SubscriptionSetting] <CloudSubscriptionSetting> [-ProxyServer] <String> [-ProxyPort] <Int32> [[-ProxyUsername] <String> ] [[-ProxyPassword] <SecureString> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: StagingArea
Set-DPMCloudSubscriptionSetting [[-DPMServerName] <String> ] [-SubscriptionSetting] <CloudSubscriptionSetting> [-StagingAreaPath] <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: Throttle
Set-DPMCloudSubscriptionSetting [[-DPMServerName] <String> ] [-SubscriptionSetting] <CloudSubscriptionSetting> [-WorkDay] <DayOfWeek[]> [-StartWorkHour] <TimeSpan> [-EndWorkHour] <TimeSpan> [-WorkHourBandwidth] <UInt32> [-NonWorkHourBandwidth] <UInt32> [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Set-DPMCloudSubscriptionSetting cmdlet updates subscription settings in Windows Azure Online Backup for a System Center 2012 – Data Protection Manager (DPM) server.

パラメーター

-Commit

Indicates that DPM saves the Windows Azure Online Backup settings.

エイリアス

none

必須?

true

位置は?

3

既定値

none

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

-DPMServerName<String>

Specifies the name of the DPM server.

エイリアス

none

必須?

false

位置は?

1

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-EncryptionPassphrase<SecureString>

Specifies a secure string that contains a passphrase used to encrypt backups from the DPM server.

エイリアス

none

必須?

true

位置は?

3

既定値

none

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

-EndWorkHour<TimeSpan>

Specifies the end of the time range when DPM uses throttling as specified in the WorkHourBandwidth parameter. Use this parameter in conjunction with the StartWorkHour parameter.

エイリアス

none

必須?

true

位置は?

5

既定値

none

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-NonWorkHourBandwidth<UInt32>

Specifies throttling settings for hours outside the range that the StartWorkHour and EndWorkHour parameters define.

エイリアス

none

必須?

true

位置は?

7

既定値

none

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-NoProxy

Indicates that the cmdlet does not use a proxy server.

エイリアス

none

必須?

true

位置は?

3

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-NoThrottle

Indicates that the cmdlet does not use bandwidth throttling.

エイリアス

none

必須?

true

位置は?

3

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-ProxyPassword<SecureString>

Specifies a secure string that contains the password for the proxy server.

エイリアス

none

必須?

false

位置は?

6

既定値

none

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-ProxyPort<Int32>

Specifies a port number for the proxy server.

エイリアス

none

必須?

true

位置は?

4

既定値

none

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-ProxyServer<String>

Specifies the name of the proxy server.

エイリアス

none

必須?

true

位置は?

3

既定値

none

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

-ProxyUsername<String>

Specifies the user name that you use to log on to the proxy server.

エイリアス

none

必須?

false

位置は?

5

既定値

none

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-StagingAreaPath<String>

Specifies the path to which you download backups before you recover them to their final location. Ensure that the location you specify has sufficient space to hold the backups.

エイリアス

none

必須?

true

位置は?

3

既定値

none

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

-StartWorkHour<TimeSpan>

Specifies the start of the time range when the throttling settings in the WorkHourBandwidth parameter are in effect. Use this parameter in conjunction with the EndWorkHour parameter.

エイリアス

none

必須?

true

位置は?

4

既定値

none

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-SubscriptionSetting<CloudSubscriptionSetting>

Specifies a Subscription object that contains the subscription settings. To obtain a Subscription object, use the Get-DPMCloudSubscription cmdlet.

エイリアス

none

必須?

true

位置は?

2

既定値

none

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

-WorkDay<DayOfWeek[]>

Specifies the days of the week when Windows Azure Online Backup runs. Valid values for this parameter are:

-- Sunday
-- Monday
-- Tuesday
-- Wednesday
-- Thursday
-- Friday
-- Saturday

エイリアス

none

必須?

true

位置は?

3

既定値

none

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

-WorkHourBandwidth<UInt32>

Specifies the bandwidth that Windows Azure Online Backup uses during working hours.

エイリアス

none

必須?

true

位置は?

6

既定値

none

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-Confirm

コマンドレットを実行する前に、ユーザーに確認を求めます。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-WhatIf

コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

Example 1: Specify Windows Azure Online Backup options for a DPM server

This example sets subscription options for Windows Azure Online Backup for the DPM server named TestingServer.

The first command gets the subscription settings for the server named TestingServer and stores the settings in the $Setting variable.

The second command specifies C:\StagingArea as the staging area for backup files from TestingServer.

The third command indicates that the backup does not use a proxy server.

The fourth command converts the string passphrase123456789 to a secure string and assigns the secure string to the variable named $Passphrase.

The fifth command sets the secure string in $Passphrase as the password for encrypting backups from TestingServer.

The sixth command saves the backup options that you set in previous commands.

PS C:\> $Setting = Get-DPMCloudSubscriptionSetting -DPMServerName "TestingServer"
PS C:\> Set-DPMCloudSubscriptionSetting -DPMServerName "TestingServer" -SubscriptionSetting $Setting -StagingAreaPath "C:\StagingArea"
PS C:\> Set-DPMCloudSubscriptionSetting -DPMServerName "TestingServer" -SubscriptionSetting $Setting -NoProxy
PS C:\> $Passphrase = ConvertTo-SecureString -string "passphrase123456789" -AsPlainText -Force
PS C:\> Set-DPMCloudSubscriptionSetting -DPMServerName "TestingServer" -SubscriptionSetting $Setting -EncryptionPassphrase $Passphrase
PS C:\> Set-DPMCloudSubscriptionSetting -DPMServerName "TestingServer" -SubscriptionSetting $Setting -Commit

関連トピック

Get-DPMCloudSubscription

Get-DPMCloudSubscriptionSetting