Edit

Share via


Get-NetIntentAllGoalStates

Looks up all intent goal state configurations available.

Syntax

Default (Default)

Get-NetIntentAllGoalStates
    [[-ClusterName] <String>]
    [[-ComputerName] <String>]
    [<CommonParameters>]

Description

The Get-NetIntentAllGoalStates retrieves the goal states stored for each intent. These configurations are the settings used for initial provisioning and drift checks. This information is useful for debugging and troubleshooting.

Examples

EXAMPLE 1

Get-NetIntentAllGoalStates -ComputerName "Server01"

This example retrieves all of the network intent goal states from the Server01 standalone host.

Parameters

-ClusterName

Specifies the name of the cluster for which the goal states are to be retrieved.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ComputerName

Specifies the name of the computer for which the goal states are to be retrieved.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:2
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.