Changes settings of a management service component in the local web.config file.
Syntax
Parameter Set: Default
Set-MgmtSvcSetting [-Namespace] <String> [-Name]
<String> [[-Value] <String> ] [-Encode]
[-SkipUpdateHash] [-Confirm] [-WhatIf] [
<CommonParameters>]
The Set-MgmtSvcSetting cmdlet changes configuration settings for a management service component. You can use this cmdlet to change the values for the specified settings in the specified namespace. You can also make updates to machine keys and credentials, and enable server certificate validation.
You must run this cmdlet on the computer that hosts the management services.
Indicates that the management service encodes the setting.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Specifies the name of the management service setting.
Aliases |
none |
Required? |
true |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Specifies an array of namespaces of management service settings.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Indicates that the cmdlet does not update the hash table when it modifies a setting.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Specifies the value of a setting.
Aliases |
none |
Required? |
false |
Position? |
3 |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
Prompts you for confirmation before executing the command.
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Describes what would happen if you executed the command without actually executing the command.
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.
This command enables server certificate validation for the AdminSite namespace.
PS C:\> Set-MgmtSvcSetting -Namespace "AdminSite" -Name DisableCertificateValidation" -Value False
Unprotect-MgmtSvcConfiguration