{"id":21071817,"url":"https://github.com/devblackops/poshorigin_netscaler","last_synced_at":"2025-05-16T05:32:00.107Z","repository":{"id":41216195,"uuid":"46326620","full_name":"devblackops/POSHOrigin_NetScaler","owner":"devblackops","description":"DSC resources to manage Citrix NetScaler with POSHOrigin","archived":false,"fork":false,"pushed_at":"2017-10-19T17:25:56.000Z","size":39,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-03T20:51:16.745Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devblackops.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-17T06:02:31.000Z","updated_at":"2022-06-10T15:03:34.000Z","dependencies_parsed_at":"2022-09-12T17:41:39.943Z","dependency_job_id":null,"html_url":"https://github.com/devblackops/POSHOrigin_NetScaler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devblackops%2FPOSHOrigin_NetScaler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devblackops%2FPOSHOrigin_NetScaler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devblackops%2FPOSHOrigin_NetScaler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devblackops%2FPOSHOrigin_NetScaler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devblackops","download_url":"https://codeload.github.com/devblackops/POSHOrigin_NetScaler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254474437,"owners_count":22077279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T18:54:19.520Z","updated_at":"2025-05-16T05:31:59.784Z","avatar_url":"https://github.com/devblackops.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Stories in Ready](https://badge.waffle.io/devblackops/POSHOrigin_NetScaler.png?label=ready\u0026title=Ready)](https://waffle.io/devblackops/POSHOrigin_NetScaler)\n[![Build status](https://ci.appveyor.com/api/projects/status/5l0movhn89rexh0g?svg=true)](https://ci.appveyor.com/project/devblackops/poshorigin-netscaler)\n\n# POSHOrigin_NetScaler\nPOSHOrigin_NetScaler is a set of PowerShell 5 based DSC resources for managing Citrix NetScaler load balancer objects via DSC.\n\n## Resources\n\n* **LBServer** Manages a load balancer server instance\n* **LBVirtualServer** Manages a load balancer virtual server instance\n\n### LBServer\n\nCreated, modifies, or deletes a load balancer server instance\n\nParameters\n----------\n\n| Name            | Type         | Required | Description\n| :---------------|:-------------|:---------|:-----------|\n| Name            | string       | True     | The name of the instance\n| Ensure          | string       | False    | Denotes if resource should exist or not exist\n| NetScalerFQDN   | string       | True     | The FQDN of the NetScaler appliance to connect to\n| Credential      | pscredential | True     | Credential with rights on NetScaler to manager load balancer server instances\n| IPAddress       | string       | True     | The IP address of the server instance\n| Comments        | string       | False    | Comments associated with the server instance\n| TrafficDomainId | int          | False    | Identifies the traffic domain in which you want to configure the server instance\n| State           | string       | False    | State of the server instance. Valid values are 'ENABLED', 'DISABLED'\n\n\n\n### LBVirtualServer\n\nCreated, modifies, or deletes a load balancer server instance\n\nParameters\n----------\n\n| Name            | Type         | Required | Description\n| :---------------|:-------------|:---------|:-----------|\n| Name            | string       | True     | The name of the instance\n| Ensure          | string       | False    | Denotes if resource should exist or not exist\n| NetScalerFQDN   | string       | True     | The FQDN of the NetScaler appliance to connect to\n| Credential      | pscredential | True     | Credential with rights on NetScaler to manager load balancer server instances\n| IPAddress       | string       | True     | The IP address of the server instance\n| Port            | int          | False    | Port number for the virtual server\n| ServiceType     | string       | False    | Protocol used by the virtual server\n| LBMethod        | string       | False    | Load balancing method used by the virtual server\n| Comments        | string       | False    | Comments associated with the server instance\n| State           | string       | False    | State of the virtual server instance. Valid values are 'ENABLED', 'DISABLED'\n\n## Versions\n\n### 1.1.0\n\n* Initial release\n\n## Examples\n\n### LBServer\n\nThis example shows how to use the **LBServer** resource within the context of a [POSHOrigin](https://github.com/devblackops/POSHOrigin) configuration file.\n\n```PowerShell\nresource 'POSHOrigin_NetScaler:LBServer' 'serverxyz' @{\n    Ensure = 'Present'\n    NetScalerFQDN = 'mynetscaler.mydomain.com'\n    IPAddress = '192.168.100.100'\n    Comments = 'This is a comment'\n    TrafficDomainId = 1\n    State = 'ENABLED'\n    Credential = Get-POSHOriginSecret 'pscredential' @{\n        username = 'administrator'\n        password = 'K33p1t53cr3tK33p1t5@f3'\n    }\n}\n```\n\nThis example show how to use the **LBServer** resource within a traditional DSC configuration file.\n\n```PowerShell\nConfiguration Example_LBServer {\n    param(\n        [string[]]$NodeName = 'localhost',\n\n        [Parameter(Mandatory)]\n        [string]$Name,\n\n        [Parameter(Mandatory)]\n        [string]$IPAddress,\n\n        [Parameter(Mandatory)]\n        [string]$NetScalerFQDN,\n\n        [Parameter(Mandatory)]\n        [pscredential]$Credential,\n\n        [string]$Comments,\n\n        [int]$TrafficDomainId,\n\n        [string]$State\n    )\n\n    Import-DscResource -Name LBServer -ModuleName POSHOrigin_NetScaler\n\n    Node $NodeName {\n        LBServer \"Create$Name\" {\n            Ensure = 'Present'\n            Name = $Name\n            IPAddress = $IPAddress\n            NetScalerFQDN = $NetScalerFQDN\n            Credential = $Credential\n            Comments = $Comments\n            TrafficDomainId = $TrafficDomainId\n            State = $State\n        }\n    }\n}\n```\n\n### LBVirtualServer\n\nThis example shows how to use the **LBVirtualServer** resource within the context of a [POSHOrigin](https://github.com/devblackops/POSHOrigin) configuration file.\n\n```PowerShell\nresource 'POSHOrigin_NetScaler:LBServer' 'lbserverxyz' @{\n    Ensure = 'Present'\n    NetScalerFQDN = 'mynetscaler.mydomain.com'\n    Comments = 'This is a comment'\n    IPAddress = '192.168.100.101'\n    Port = 80\n    ServiceType = 'HTTP'\n    LBMethod = 'ROUNDROBIN'    \n    State = 'ENABLED'\n    Credential = Get-POSHOriginSecret 'pscredential' @{\n        username = 'administrator'\n        password = 'K33p1t53cr3tK33p1t5@f3'\n    }\n}\n```\n\nThis example show how to use the **LBVirtualServer** resource within a traditional DSC configuration file.\n\n```PowerShell\nConfiguration Example_LBVirtualServer {\n    param(\n        [string[]]$NodeName = 'localhost',\n\n        [Parameter(Mandatory)]\n        [string]$Name,\n\n        [Parameter(Mandatory)]\n        [string]$IPAddress,\n\n        [Parameter(Mandatory)]\n        [string]$NetScalerFQDN,\n\n        [Parameter(Mandatory)]\n        [pscredential]$Credential,\n\n        [int]$Port,\n\n        [string]$ServiceType,\n\n        [string]$LBMethod,\n\n        [string]$Comments,\n\n        [string]$State\n    )\n\n    Import-DscResource -Name LBVirtualServer -ModuleName POSHOrigin_NetScaler\n\n    Node $NodeName {\n        LBVirtualServer \"Create$Name\" {\n            Ensure = 'Present'\n            Name = $Name\n            IPAddress = $IPAddress\n            NetScalerFQDN = $NetScalerFQDN\n            Credential = $Credential\n            Port = $Port\n            ServiceType = $ServiceType\n            LBMethod = $LBMethod\n            Comments = $Comments\n            State = $State\n        }\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevblackops%2Fposhorigin_netscaler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevblackops%2Fposhorigin_netscaler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevblackops%2Fposhorigin_netscaler/lists"}