Get-LiquitEntityFilter displays a list of filters belonging to an entity. This way you can see whether or not the filter sets are used in an 'AND' or 'OR' clause.
Syntax
Get-LiquitEntityFilter
[-Entity] <Entity>
[-LiquitContext <LiquitContext>]
[<CommonParameters>]
Example
The following script lists all the entity filters belonging to a specific filter set:
$package = Get-LiquitPackage -id 00000000-0000-0000-0000-000000000000
$snapshot = Get-LiquitPackageSnapshot -id 00000000-0000-0000-0000-000000000000 -package $package
$filterset = Get-LiquitFilterSet -Snapshot $snapshot -id 00000000-0000-0000-0000-000000000000
Get-LiquitEntityFilter -Entity $filterset
This command creates a new entity filter.
Syntax
New-LiquitEntityFilter
[-Snapshot] <PackageSnapshot[]>
[-Operator {And | Or}]
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-LiquitEntityFilter
[-Action] <Action[]>
[-Operator {And | Or}]
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-LiquitEntityFilter
[-ActionSet] <ActionSet[]>
[-Operator {And | Or}]
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-LiquitEntityFilter
[-ConditionSet] <ConditionSet[]>
[-Operator {And | Or}]
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-LiquitEntityFilter
[-Deployment] <Deployment[]>
[-Operator {And | Or}]
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-LiquitEntityFilter
[-DeploymentAction] <DeploymentAction[]>
[-Operator {And | Or}]
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
This command lets you edit the properties of an entity filter.
Syntax
Set-LiquitEntityFilter
[-EntityFilter] <EntityFilter[]>
[-Operator {And | Or}]
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-LiquitEntityFilter
[-Snapshot] <PackageSnapshot[]>
[-Operator {And | Or}]
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-LiquitEntityFilter
[-Action] <Action[]>
[-Operator {And | Or}]
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-LiquitEntityFilter
[-ActionSet] <ActionSet[]>
[-Operator {And | Or}]
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-LiquitEntityFilter
[-ConditionSet] <ConditionSet[]>
[-Operator {And | Or}]
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-LiquitEntityFilter
[-Deployment] <Deployment[]>
[-Operator {And | Or}]
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-LiquitEntityFilter
[-DeploymentAction] <DeploymentAction[]>
[-Operator {And | Or}]
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Example
The following script creates a new entity filter in the selected snapshot:
$package = Get-LiquitPackage -id 00000000-0000-0000-0000-000000000000
$snapshot = Get-LiquitPackageSnapshot -id 00000000-0000-0000-0000-000000000000 -package $package
Set-LiquitEntityFilter -Snapshot $snapshot -Operator Or
Parameters
| Name | Value | Description | Required | Default value |
|---|---|---|---|---|
| EntityFilter | <EntityFilter[]> | The entity filter determines whether or not filter sets are used in an 'AND' or 'OR' clause. | ||
| Snapshot | <PackageSnapshot[]> | The package snapshot to which the entity filter should apply. | Snapshot only | |
| Action | <Action[]> | The action to which the entity filter should apply. | Action only | |
| ActionSet | <ActionSet[]> | The action set to which the entity filter should apply. | ActionSet only | |
| ConditionSet | <ConditionSet[]> | The condition set to which the entity filter should apply. | ConditionSet only | |
| DeploymentAction | <DeploymentAction[]> | The deployment action to which the entity filter should apply. | Deployment Action only | |
| Deployment | <Deployment[]> | The deployment to which the entity filter should apply. | Deployment only | |
| Operator | {And | Or} | Determines whether the filter sets are evaluated in an 'AND' or 'OR' clause. | No | And |
| LiquitContext | <LiquitContext> | Determines the selected zone. | No | Default |
This command removes a filter entity from the Application Workspace.
Syntax
Remove-LiquitEntityFilter
[-EntityFilter] <EntityFilter[]>
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-LiquitEntityFilter
[-Snapshot] <PackageSnapshot[]>
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-LiquitEntityFilter
[-Action] <Action[]>
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-LiquitEntityFilter
[-ActionSet] <ActionSet[]>
[-Operator {And | Or}]
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-LiquitEntityFilter
[-ConditionSet] <ConditionSet[]>
[-Operator {And | Or}]
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-LiquitEntityFilter
[-Deployment] <Deployment[]>
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-LiquitEntityFilter
[-DeploymentAction] <DeploymentAction[]>
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Example
The following script removes the selected entity filter from the Application Workspace:
$package = Get-LiquitPackage -id 00000000-0000-0000-0000-000000000000
$snapshot = Get-LiquitPackageSnapshot -id 00000000-0000-0000-0000-000000000000 -package $package
Remove-LiquitEntityFilter -Snapshot $snapshot
Parameters
| Name | Value | Description | Required | Default value |
|---|---|---|---|---|
| EntityFilter | <EntityFilter[]> | The entity filter(s) that should be removed. | EntityFilter only | |
| Snapshot | <PackageSnapshot[]> | The snapshot(s) containing the entity filter that should be removed. | Snapshot only | |
| Action | <Action[]> | The action(s) containing the entity filter that should be removed. | Action only | |
| ActionSet | <ActionSet[]> | The action set containing the entity filter that should be removed. | ActionSet only | |
| ConditionSet | <ConditionSet[]> | The condition set containing the entity filter that should be removed. | ConditionSet only | |
| DeploymentAction | <DeploymentAction[]> | The deployment action(s) containing the entity filter that should be removed. | Deployment Action only | |
| Deployment | <Deployment[]> | The deployment(s) containing the entity filter that should be removed. | Deployment only | |
| LiquitContext | <LiquitContext> | Determines the selected zone. | No | Default |