Invoke ADCGetNshostname - j81blog/J81.ADCToolkit GitHub Wiki

Invoke-ADCGetNshostname

SYNOPSIS

Get NS configuration object(s).

SYNTAX

GetAll (Default)

Invoke-ADCGetNshostname [-Filter <Hashtable>] [-GetAll] [-ViewSummary] [<CommonParameters>]

Count

Invoke-ADCGetNshostname [-Count] [-Filter <Hashtable>] [<CommonParameters>]

DESCRIPTION

Configuration for host name resource.

EXAMPLES

EXAMPLE 1

Invoke-ADCGetNshostname

Get data.

EXAMPLE 2

Invoke-ADCGetNshostname -GetAll

Get all nshostname data.

EXAMPLE 3

Invoke-ADCGetNshostname -Count

Get the number of nshostname objects.

EXAMPLE 4

Invoke-ADCGetNshostname -name <string>

Get nshostname object by specifying for example the name.

EXAMPLE 5

Invoke-ADCGetNshostname -Filter @{ 'name'='<value>' }

Get nshostname data with a filter.

PARAMETERS

-Count

If specified, the count of the nshostname object(s) will be returned.

Type: SwitchParameter
Parameter Sets: Count
Aliases:

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

-Filter

Specify a filter. -Filter @{ 'name'='<value>' }

Type: Hashtable
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: @{ }
Accept pipeline input: False
Accept wildcard characters: False

-GetAll

Retrieve all nshostname object(s).

Type: SwitchParameter
Parameter Sets: GetAll
Aliases:

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

-ViewSummary

When specified, only a summary of information is returned.

Type: SwitchParameter
Parameter Sets: GetAll
Aliases:

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

CommonParameters

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

INPUTS

OUTPUTS

NOTES

File Name : Invoke-ADCGetNshostname Version : v2111.2521 Author : John Billekens Reference : https://developer-docs.citrix.com/projects/citrix-adc-nitro-api-reference/en/latest/configuration/ns/nshostname/ Requires : PowerShell v5.1 and up ADC 13.x and up. ADC 12 and lower may work, not guaranteed.

RELATED LINKS

https://blog.j81.nl

⚠️ **GitHub.com Fallback** ⚠️