Initialize-MgmtSvcProduct

Configures features for the management service.

Syntax

Initialize-MgmtSvcProduct [-Confirm] [-ConnectionString <String>] [-EnableCeip <EnableCeip>]
 -Passphrase <String> [-WhatIf] [<CommonParameters>]
Initialize-MgmtSvcProduct [-Confirm] [-EnableCeip <EnableCeip>] -Passphrase <String> [-Password <String>]
 [-Server <String>] [-UserName <String>] [-WhatIf] [<CommonParameters>]

Description

The Initialize-MgmtSvcProduct cmdlet configures each feature of a management service installation on a single computer by calling the Initialize-MgmtSvcFeature cmdlet for each feature installed on the local computer.

You can run this cmdlet from any computer in the deployment.
However, this cmdlet assumes that the database is on the local computer.
If the database is on another computer, you must use the Server, UserName, Password, and Database parameters, or a SQL connection string.
If you specify a connection string by using the ConnectionString parameter, that value takes precedence over the Server, UserName, Password, and Database parameters.

Examples

Example 1: Configure features for the management service

PS C:\> Initialize-MgmtSvcProduct -Server "ContosoSQL01" -UserName "sa" -Password '^^^^^^^' -Passphrase '#######' -EnableCeip Yes -Verbose
This command initializes all features on the computer named ContosoSQL01.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False

-ConnectionString

Specifies an SQL connection string.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-EnableCeip

Enables, when set to Yes, participation in the Customer Experience Improvement Program (CEIP).
To disable participation in CEIP, set this value to No.

Type:EnableCeip
Parameter Sets:Yes, No
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-Passphrase

Specifies the passphrase on the configuration store.

The passphrase should have more than eight characters and contain at least one non-alphanumeric character.
Remember to protect the passphrase.
You cannot recover the passphrase.

Type:String
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-Password

Specifies a password.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-Server

Specifies the name of the computer on which the SQL database resides.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-UserName

Specifies the name of a user account.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs.
The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False