Get-AllNetIntents
Looks up all intent request configurations available.
Syntax
Default (Default)
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.
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 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.
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 |
-GlobalOverrides
Retrieves the global override settings.
Parameter properties
| Type: | SwitchParameter |
| Default value: | False |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| 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.