< Back

Get-NSserver

Fri Jan 10, 2020 9:59 pm

NAME Get-NSserver



SYNOPSIS

The get-nsserver fetches one or more servers.





SYNTAX

Get-NSserver [[-name] <string[]>] [[-filter] <string>] [-session <nitro_service>] [<CommonParameters>]





DESCRIPTION

The get-nsserver fetches one or more servers. The result is one or more server objects.





PARAMETERS

-name <string[]>

Specify the name, to return details of a specific server. All servers are returned if this is left blank.



Required? false

Position? 0

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-filter <string>

Optional parameter to provide a filter to be used during search. Format "property:value,property:value" ex

"ip:10.12.45.6" Note, because of a bug in the API, when searching based on an IP address, server using a

hostname are also returned. Use the following filter to search just based on IP "ipaddress:x.x.x.x,domain:null"



Required? false

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-session <nitro_service>



Required? false

Position? named

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String[]

Specify the name, to return details of a specific server. All servers are returned if this is left blank.



System.String

Optional parameter to provide a filter to be used during search. Format "property:value,property:value" ex

"ip:10.12.45.6" Note, because of a bug in the API, when searching based on an IP address, server using a

hostname are also returned. Use the following filter to search just based on IP "ipaddress:x.x.x.x,domain:null"



com.citrix.netscaler.nitro.service.nitro_service





OUTPUTS

com.citrix.netscaler.nitro.resource.config.basic.server







RELATED LINKS