Element
Remove-NetworkListElement
Synopsis
Remove an element.
Syntax
Remove-NetworkListElement [-NetworkListID] <String> [-Element] <String> [[-EdgeRCFile] <String>]
[[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Removes the specified element from the list. If the network list's type is IP
, the value is a URL-encoded IP address or CIDR block. If the type is GEO
, it's a two-character country code.
Parameters
-AccountSwitchKey
Account switch key, for use when you have access to multiple accounts and need to specify which one to use. Account switch keys can be found using Get-AccountSwitchKey
.
Type String
Parameter Sets (All)
Aliases None
RequiredFalse
Position4
Default value None
Accept pipeline inputFalse
Accept wildcard charactersFalse
-EdgeRCFile
EdgeRC file to authenticate your command. Defaults to ~/.edgerc
.
Type String
Parameter Sets (All)
Aliases None
RequiredFalse
Position2
Default value None
Accept pipeline inputFalse
Accept wildcard charactersFalse
-Element
Specifies the element to add to the network list.
Type String
Parameter Sets (All)
Aliases None
RequiredTrue
Position1
Default value None
Accept pipeline input True (ByValue)
Accept wildcard charactersFalse
-NetworkListID
Unique identifier for each network list.
Type String
Parameter Sets (All)
Aliases None
RequiredTrue
Position0
Default value None
Accept pipeline inputFalse
Accept wildcard charactersFalse
-Section
EdgeRC section to retrieve authentication credentials from. Defaults to default
.
Type String
Parameter Sets (All)
Aliases None
RequiredFalse
Position3
Default value None
Accept pipeline inputFalse
Accept wildcard charactersFalse
CommonParameters
This cmdlet supports the common parameters: -Debug
, -ErrorAction
, -ErrorVariable
, -InformationAction
, -InformationVariable
, -OutVariable
, -OutBuffer
, -PipelineVariable
, -Verbose
, -WarningAction
, and -WarningVariable
. For more information, see about_CommonParameters.
Inputs
System.String
Outputs
System.Object
Related links
Updated 5 months ago