Update-AzGalleryInVMAccessControlProfileVersion cmdlet은 특정 버전의 갤러리 inVMAccessControlProfile을 업데이트합니다.
업데이트할 갤러리 inVMAccessControlVersion은 Get-AzGalleryInVMAccessControlProfileVersion cmdlet에서 검색된 PSGalleryInVMAccessControlProfileVersion 개체를 제공하여 전달할 수 있습니다.
이 예제에서는 먼저 Get-AzGalleryInVMAccessControlProfileVersion 사용하여 업데이트해야 하는 갤러리 inVMAccessControlProfile의 지정된 버전을 검색합니다.
그런 다음 Update-AzGalleryInVMAccessControlProfileVersion 사용하여 TargetLocation 및 excludeFromLatest 속성을 업데이트합니다.
이 cmdlet은 일반적인 매개 변수인 -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction 및 -WarningVariable 매개 변수를 지원합니다. 자세한 내용은 about_CommonParameters를 참조하세요.