< Back
New-NsxSecurityTag
Post
NAME New-NsxSecurityTag
SYNOPSIS
Creates a new NSX Security Tag
SYNTAX
New-NsxSecurityTag [-Name] <String> [[-Description] <String>] [-Universal] [[-Connection] <PSObject>]
[<CommonParameters>]
DESCRIPTION
A NSX Security Tag is a arbitrary string. It is used in other functions of
NSX such as Security Groups match criteria. Security Tags are applied to a
Virtual Machine.
This cmdlet creates a new NSX Security Tag
PARAMETERS
-Name <String>
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Description <String>
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Universal [<SwitchParameter>]
This marks the tag as a universal object within the constructs of NSX
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Connection <PSObject>
PowerNSX Connection object
Required? false
Position? 3
Default value $defaultNSXConnection
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>New-NSXSecurityTag -name ST-Web-DMZ -description Security Tag for
the Web Tier
RELATED LINKS
SYNOPSIS
Creates a new NSX Security Tag
SYNTAX
New-NsxSecurityTag [-Name] <String> [[-Description] <String>] [-Universal] [[-Connection] <PSObject>]
[<CommonParameters>]
DESCRIPTION
A NSX Security Tag is a arbitrary string. It is used in other functions of
NSX such as Security Groups match criteria. Security Tags are applied to a
Virtual Machine.
This cmdlet creates a new NSX Security Tag
PARAMETERS
-Name <String>
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Description <String>
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Universal [<SwitchParameter>]
This marks the tag as a universal object within the constructs of NSX
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Connection <PSObject>
PowerNSX Connection object
Required? false
Position? 3
Default value $defaultNSXConnection
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>New-NSXSecurityTag -name ST-Web-DMZ -description Security Tag for
the Web Tier
RELATED LINKS