The Set-OBMachineSetting cmdlet sets a OBMachineSetting object for the server that includes
proxy server settings for accessing the internet, network bandwidth throttling settings, and the
encryption passphrase that is required to decrypt the files during recovery to another server.
This cmdlet supports WhatIf and Confirm parameters with a medium impact. The medium impact
signifies that the cmdlet will not prompt the user for confirmation by default. The WhatIf
parameter gives a verbose description of what the cmdlet does without performing any operation. The
Confirm parameter specifies whether the cmdlet should prompt the user. Using -Confirm:$FALSE
will override the prompt.
To use Microsoft Azure Backup cmdlets, the user needs to be an administrator on the protected
machine.
This example registers a server with the given passphrase and saves it in Azure Key Vault.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Parameter properties
Type:
SwitchParameter
Default value:
False
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-EncryptionPassphrase
Sets the encryption passphrase to be used to encrypt the backed up data.
Parameter properties
Type:
SecureString
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
UNNAMED_PARAMETER_SET_1
Position:
2
Mandatory:
True
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
-EndWorkHour
Specifies the hour that ends the work hours range.
Parameter properties
Type:
TimeSpan
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
UNNAMED_PARAMETER_SET_2
Position:
4
Mandatory:
True
Value from pipeline:
False
Value from pipeline by property name:
True
Value from remaining arguments:
False
-KeyVaultUri
Enter a Key Vault URI to save the passphrase securely. A new secret is created in the key vault
specified to save the passphrase. One of PassphraseSaveLocation or KeyVaultUri (recommended) needs
to be specified.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
3
Mandatory:
True
Value from pipeline:
True
Value from pipeline by property name:
True
Value from remaining arguments:
False
-NonWorkHourBandwidth
Specifies the bandwidth throttling setting to be used to limit the network bandwidth consumed by
data transfers during non-work hours.
Parameter properties
Type:
UInt32
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
UNNAMED_PARAMETER_SET_2
Position:
6
Mandatory:
True
Value from pipeline:
False
Value from pipeline by property name:
True
Value from remaining arguments:
False
-NoProxy
Specifies that unique proxy server settings are not to be used for online backups.
Parameter properties
Type:
SwitchParameter
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
UNNAMED_PARAMETER_SET_3
Position:
2
Mandatory:
True
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-NoThrottle
Specifies that network throttling is not used with online backups. Data transfers of backed up items
from the local server to the Microsoft Azure Backup server will use bandwidth as needed.
Parameter properties
Type:
SwitchParameter
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
UNNAMED_PARAMETER_SET_4
Position:
2
Mandatory:
True
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-PassphraseSaveLocation
Enter a network location or folder where the passphrase can be saved. Saving the passphrase in the
machine being protected is not recommended. Microsoft cannot recover backup data if the passphrase
is lost. One of PassphraseSaveLocation or KeyVaultUri (recommended) needs to be specified.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
2
Mandatory:
True
Value from pipeline:
True
Value from pipeline by property name:
True
Value from remaining arguments:
False
-ProxyPassword
Specifies authentication password to be used for proxy setting.
Parameter properties
Type:
SecureString
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
UNNAMED_PARAMETER_SET_5
Position:
5
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
True
Value from remaining arguments:
False
-ProxyPort
Specifies the port number to be used on the proxy server.
Parameter properties
Type:
Int32
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
UNNAMED_PARAMETER_SET_5
Position:
3
Mandatory:
True
Value from pipeline:
False
Value from pipeline by property name:
True
Value from remaining arguments:
False
-ProxyServer
Specifies the proxy server to be used when connecting to the Microsoft Azure Backup server.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
UNNAMED_PARAMETER_SET_5
Position:
2
Mandatory:
True
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
-ProxyUsername
Specifies the username to be used for proxy server authentication.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
UNNAMED_PARAMETER_SET_5
Position:
4
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
True
Value from remaining arguments:
False
-SecurityPin
Security pin is necessary if you are changing passphrase and the hybrid security setting is turned
on for the Recovery Services Vault. You must generate a security pin by selecting Generate under
Settings > Properties > Security PINin the Recovery Services Vault section of the
Azure portal.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
3
Mandatory:
True
Value from pipeline:
True
Value from pipeline by property name:
True
Value from remaining arguments:
False
-StartWorkHour
Specifies the hour that starts the range of work hours.
Parameter properties
Type:
TimeSpan
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
UNNAMED_PARAMETER_SET_2
Position:
3
Mandatory:
True
Value from pipeline:
False
Value from pipeline by property name:
True
Value from remaining arguments:
False
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet isn't run.
Parameter properties
Type:
SwitchParameter
Default value:
False
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-WorkDay
Specifies the array of work days using the using [DayOfWeek] system variables.