Initialize-MgmtSvcFeature
Configures a management service feature.
Initialize-MgmtSvcFeature
[-Name] <String>
[[-Settings] <Hashtable>]
[-Passphrase <String>]
[-EnableCeip <EnableCeip>]
[-Server <String>]
[-UserName <String>]
[-Password <String>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Initialize-MgmtSvcFeature
[-Name] <String>
[[-Settings] <Hashtable>]
[-Passphrase <String>]
[-EnableCeip <EnableCeip>]
[-ConnectionString <String>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
The Initialize-MgmtSvcFeature cmdlet configures a management service feature.
The feature can be initialized only if it is installed locally.
PS C:\> $Settings = @{dbServer='mysqlservermc';dbAdminUserName='sa';dbAdminPassword='#######';configStorePassphrase='########';}
PS C:\> Initialize-MgmtSvcFeature -Name "AdminSite" -Settings $Settings -EnableCeip Yes
The first command specifies the settings for a management service feature, and stores the settings in the $Settings variable.
The second command configures the management service feature named AdminSite by using the settings stored in $Settings for the feature.
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies an SQL connection string. This parameter overrides Settings["connectionString"].
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Enables, when set to Yes, participation in the Customer Experience Improvement Program (CEIP). To disable participation in CEIP, set this value to No. This parameter overrides Settings["enableCeip"].
Type: | EnableCeip |
Accepted values: | Yes, No |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the name of a management service feature.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies a passphrase.
The passphrase must have more than eight characters and contain at least one non-alphanumeric character. Remember to protect the passphrase. You cannot recover the passphrase. This parameter overrides Settings["configStorePassphrase"].
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies a password. This parameter overrides Settings["dbAdminPassword"].
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the name of the computer on which the SQL database resides. This parameter overrides Settings["dbServer"].
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies a collection of key/value pairs for the feature settings. When possible, you should use the named parameters instead of this parameter.
Type: | Hashtable |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the name of a user account. This parameter overrides Settings["dbAdminUserName"].
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |