Initialize-VamtData

Initialize-VamtData

Initializes the VAMT database and removes all the data.

구문

Parameter Set: Default
Initialize-VamtData [[-PreserveKeys]] [-Confirm] [-DbCommandTimeout <Int32> ] [-DbConnectionString <String> ] [ <CommonParameters>]

자세한 설명

The Initialize-VamtData cmdlet restores a database to its initial state and removes all the data from the database. You can preserve the product keys in the database if you need them. You can also suppress the prompt that asks you to confirm the database initialization.

매개 변수

-Confirm

Suppresses the prompt that asks you to confirm the database initialization. If the Confirm parameter is not supplied, you will be prompted to confirm the action.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

true (ByPropertyName)

와일드카드 문자 허용 여부

false

-DbCommandTimeout<Int32>

Indicates how long waits for a response from the database before timing out. The default value is 30 seconds. You can use the DbCommandTimeout parameter to change the timeout value.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

true (ByPropertyName)

와일드카드 문자 허용 여부

false

-DbConnectionString<String>

Specifies the database to be initialized. If no database connection string is provided, attempts to use the database that the user console used on the local computer. If does not find a database, it returns an error. You can find the connection string in the UI in the Preferences dialog box. On the menu bar, click View, and then click Preferences to open the Volume Activation Management Tool Preferences dialog box. The connection string is in the Database Settings section under Current connection string.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

true (ByPropertyName)

와일드카드 문자 허용 여부

false

-PreserveKeys

Indicates that the product keys in the database will be retained when the database is initialized.

별칭

없음

필수 여부

false

위치

1

기본값

없음

파이프라인 입력 적용 여부

true (ByValue, ByPropertyName)

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).

예제

Example 1

This command initializes the database, but retains the product keys.

PS C:\> initialize-vamtdata -preservekeys

관련 항목

Import-VamtData

Export-VamtData