Skip to content
Brandon Olin edited this page Jan 17, 2016 · 7 revisions

Provisions a Citrix NetScaler load balancer server entry.

Important

The NetScaler:LBServer resource type is not a native resource in POSHOrigin but provided by the POSHOrigin_NetScaler DSC module and must be installed in the provisioning system's $env:psmodulepath.

Parameters

Name Type Required Description
Name string True Name of server to create
Ensure string False Denotes if resource should exist or not exist.
NetScalerFQDN string True FQDN of the NetScaler to create the resource on
Credential pscredential True Credential to authenticate with the NetScaler with.
IPAddress string True IP address of the server entry
Comments string False Comments associated with entry
TrafficDomainId int False Traffic domain for entry
State string False State of the entry. ENABLED, DISABLED

Example

my_ns_resource.ps1
resource 'NetScaler:LBServer' 'VM01' @{
    description = 'this is a comment'
    ipAddress = '192.168.100.200'
    netScalerFQDN = '<NetScaler FQDN>'
    credential = Get-POSHOriginSecret 'pscredential' @{
        username = 'admin'
        password = '<your password>'
    }
}

Clone this wiki locally