Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Set-AzurePlatformVMImage

Set-AzurePlatformVMImage

microsoft.windowsazure.commands.servicemanagement.platformimagerepository.dll

Synopsis

Allows to replicate the image to target replica locations or allows to share/stop sharing the replicated images.

Syntax

Set-AzurePlatformVMImage [-ImageName] [-ReplicaLocations] [<CommonParameters>]

Set-AzurePlatformVMImage [-ImageName] [-Permission] [<CommonParameters>]

Detailed Description

Parameters

-ImageName <String>

Specifies the name of the image in the user image library.

Aliases

None

Required?

true

Position

0

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-ReplicaLocations <String[]>

Specifies the locations that image will be replicated

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Permission <String>

Specifies the sharing permission of replicated image.

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------------------- EXAMPLE 1 --------------------------

Description

PS C:\> Set-AzurePlatformVMImage -ImageName Win7UserImage -ReplicaLocations @("West US", "East US")

-------------------------- EXAMPLE 2 --------------------------

Description

PS C:\> Set-AzurePlatformVMImage -ImageName Win7UserImage -Permission Public

-------------------------- EXAMPLE 3 --------------------------

Description

PS C:\> Set-AzurePlatformVMImage -ImageName Win7UserImage -Permission Private

          Stops the sharing of the replicas of Win7UserImage with Public.

Get-AzurePlatformVMImage
Remove-AzurePlatformVMImage