< Back
Remove-LinaStrategy
Post
NAME Remove-LinaStrategy
SYNOPSIS
Deletes a Lina Strategy from a Lina Server.
SYNTAX
Remove-LinaStrategy -Name <String> [-WhatIf] [-Bulk] [<CommonParameters>]
Remove-LinaStrategy -LinaStrategies <PSObject[]> [-WhatIf] [-Bulk] [<CommonParameters>]
DESCRIPTION
Deletes a Lina Strategy.
PARAMETERS
-LinaStrategies <PSObject[]>
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Name <String>
Name of the Strategy to delete. Wildcards are accepted (don't forget to enable Bulk mode for actions on
multiple agents).
Note : Be careful, multiple Strategies can have the same name in different tenants.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
No actual deletion will happen if set. It will only display what strategy would be deleted.
Sometimes also called "Dry Run mode"
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Bulk [<SwitchParameter>]
Security parameter to enable deletion of multiple strategies. If not set only one strategy will be deleted.
Required? false
Position? named
Default value False
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
Accept pipelining of LinaStrategy objects (from Get-LinaStrategy for example)
OUTPUTS
None
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Remove-LinaStrategy -Name "MyStrat"
Real deletion of a single strategy by name
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-LinaStrategy -Name "MyStrat" | Remove-LinaStrategy
Same example as #1 but using piped commands
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-LinaStrategy -Name "Strat*" | Remove-LinaStrategy -Bulk -WhatIf
Simulates deletion of a multiple strategies by name (WhatIf mode)
-------------------------- EXAMPLE 4 --------------------------
PS C:\\>Get-LinaStrategy -Name "Strat" | Remove-LinaStrategy -Bulk
Real deletion of a multiple strategies by name
RELATED LINKS
SYNOPSIS
Deletes a Lina Strategy from a Lina Server.
SYNTAX
Remove-LinaStrategy -Name <String> [-WhatIf] [-Bulk] [<CommonParameters>]
Remove-LinaStrategy -LinaStrategies <PSObject[]> [-WhatIf] [-Bulk] [<CommonParameters>]
DESCRIPTION
Deletes a Lina Strategy.
PARAMETERS
-LinaStrategies <PSObject[]>
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Name <String>
Name of the Strategy to delete. Wildcards are accepted (don't forget to enable Bulk mode for actions on
multiple agents).
Note : Be careful, multiple Strategies can have the same name in different tenants.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
No actual deletion will happen if set. It will only display what strategy would be deleted.
Sometimes also called "Dry Run mode"
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Bulk [<SwitchParameter>]
Security parameter to enable deletion of multiple strategies. If not set only one strategy will be deleted.
Required? false
Position? named
Default value False
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
Accept pipelining of LinaStrategy objects (from Get-LinaStrategy for example)
OUTPUTS
None
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Remove-LinaStrategy -Name "MyStrat"
Real deletion of a single strategy by name
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-LinaStrategy -Name "MyStrat" | Remove-LinaStrategy
Same example as #1 but using piped commands
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-LinaStrategy -Name "Strat*" | Remove-LinaStrategy -Bulk -WhatIf
Simulates deletion of a multiple strategies by name (WhatIf mode)
-------------------------- EXAMPLE 4 --------------------------
PS C:\\>Get-LinaStrategy -Name "Strat" | Remove-LinaStrategy -Bulk
Real deletion of a multiple strategies by name
RELATED LINKS