CmdID / PowerShell / Cmdlets / Get
Get-NetIntentAllGoalStates
Looks up all intent goal state configurations available. Windows Server PowerShell reference
From the Windows Server PowerShell reference 2 parameters Its page in the reference
Parameters
-ClusterNameSpecifies the name of the cluster for which the goal states are to be retrieved.-ComputerNameSpecifies the name of the computer for which the goal states are to be retrieved.