Get-AllNetIntents

Looks up all intent request configurations available.

Syntax

Get-AllNetIntents
   [[-ClusterName] <String>]
   [[-ComputerName] <String>]
   [-GlobalOverrides]
   [<CommonParameters>]

Description

The Get-AllNetIntents cmdlet retrieves all network intent configurations available based on the computer name or cluster name.

Examples

Example 1

Get-AllNetIntents -ComputerName "Server01"

This example retrieves all network intent configurations from the Server01 standalone host.

Parameters

-ClusterName

Specifies the name of the cluster for which the network intent is to be retrieved. When used, the intent "floats" across the cluster.

Type:String
Position:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ComputerName

Specifies the computer name of the target host on which the network intent configuration is to be retrieved. For standalone hosts, use the local computer name; for scenarios where the script is executed remotely, ensure the current user has administrative privileges on the target machine.

Type:String
Position:2
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-GlobalOverrides

Retrieves the global override settings.

Type:SwitchParameter
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False