Move-​Azure​Network​Security​Group

Migrates a Network Security Group to the Azure Resource Manager stack.

Syntax

Move-AzureNetworkSecurityGroup
    [-Abort]
    [-NetworkSecurityGroupName] <String>
    [-InformationAction <ActionPreference>]
    [-InformationVariable <String>]
    [-Profile <AzureSMProfile>]
    [-Confirm]
    [-WhatIf]
    [<CommonParameters>]
Move-AzureNetworkSecurityGroup
    [-Commit]
    [-NetworkSecurityGroupName] <String>
    [-InformationAction <ActionPreference>]
    [-InformationVariable <String>]
    [-Profile <AzureSMProfile>]
    [-Confirm]
    [-WhatIf]
    [<CommonParameters>]
Move-AzureNetworkSecurityGroup
    [-Prepare]
    [-NetworkSecurityGroupName] <String>
    [-InformationAction <ActionPreference>]
    [-InformationVariable <String>]
    [-Profile <AzureSMProfile>]
    [-Confirm]
    [-WhatIf]
    [<CommonParameters>]
Move-AzureNetworkSecurityGroup
    [-Validate]
    [-NetworkSecurityGroupName] <String>
    [-InformationAction <ActionPreference>]
    [-InformationVariable <String>]
    [-Profile <AzureSMProfile>]
    [-Confirm]
    [-WhatIf]
    [<CommonParameters>]

Description

The Move-AzureNetworkSecurityGroup cmdlet migrates a Network Security Group to a resource group in the Azure Resource Manager stack.

Examples

1:

Required Parameters

-Abort

Indicates that this cmdlet cancels the Network Security Group migration.

Type:SwitchParameter
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Commit

Indicates that this cmdlet starts the Network Security Group migration.

Type:SwitchParameter
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-NetworkSecurityGroupName

Specifies the name of the Network Security Group that this cmdlet migrates.

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Prepare

Indicates that this cmdlet prepares the Network Security Group for migration.

Type:SwitchParameter
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Validate

Specifies that this cmdlet validates the Network Security Group for migration.

Type:SwitchParameter
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

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

Specifies how this cmdlet responds to an information event.The acceptable values for this parameter are:- Continue

  • Ignore
  • Inquire
  • SilentlyContinue
  • Stop
  • Suspend
Type:ActionPreference
Aliases:infa
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

Specifies an information variable.

Type:String
Aliases:iv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Profile

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.

Type:AzureSMProfile
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
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False