Register-WASImage

Register-WASImage

Imports an image into inventory.

구문

Parameter Set: Default
Register-WASImage [-ImagePath] <String> [[-ImageName] <String> ] [[-ImageType] <String> ] [[-DeploymentInfo] <String> ] [[-UnattendPath] <String> ] [ <CommonParameters>]

자세한 설명

The Register-WASImage cmdlet imports images (specifically its metadata) into the inventory. The image that is being imported must be in the \relax\images share on the Windows Assessment Services server. By default, the cmdlet assumes images are .wim files and imports all images in the WIM file. If you are not using the WIM image format, you must specify the image type. The ImagePath parameter is required.

매개 변수

-DeploymentInfo<String>

Specifies a deployment solution other than . This parameter is ignored if the ImagePath parameter points to a WIM file. The format of the string is dictated by the alternative deployment solution you choose.

별칭

없음

필수 여부

false

위치

4

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-ImageName<String>

Specifies the name of the image that you want to import. The full name of the image is required. Wildcards aren't accepted. If this parameter isn't specified, all images are imported. To get the name of the image inside the WIM file, use the DISM Get-Image command.

별칭

없음

필수 여부

false

위치

2

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-ImagePath<String>

Specifies the path to the image file you want to register. This must be the full path to the image, using the fully qualified domain name of the server. This parameter is required.

별칭

없음

필수 여부

true

위치

1

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-ImageType<String>

Specifies the type of image you want to import, if you are not using a WIM file. By default the only image type supported is WIM. For more information about using custom image types, see the documentation.

별칭

없음

필수 여부

false

위치

3

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-UnattendPath<String>

Specifies the path to the unattended answer file. These files must be stored in the \relax\unattendfiles share on the server.

별칭

없음

필수 여부

false

위치

5

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

<CommonParameters>

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

입력

입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.

출력

출력 유형은 cmdlet이 내보내는 개체의 유형입니다.

예제

Example 1

Imports the image with index 1 in the WasTestImage.wim, from the \relax\images\ share, into the inventory.

PS C:\> Register-WasImage -ImagePath 'C:\relax\images\WasTestImage.wim' -ImageName 'Windows Test Image' -ImageType 'wim' -DeploymentInfo 'imageindex=1'

관련 항목

Windows Assessment Services Technical Reference