devblackops / NetScaler

PowerShell module for interacting with Citrix NetScaler via the Nitro API
Apache License 2.0
69 stars 32 forks source link

Support for services #104

Open olljanat opened 5 years ago

olljanat commented 5 years ago

Description

I noticed that only service groups are currently supported so copied those scripts and modified them to working with normal services too.

New functions:

Related Issue

103

How Has This Been Tested?

Now user can create and modify services with commands like these:

New-NSLBService -Name SERVICE -ServerName SERVER -ServiceType SSL -Port 1234
Add-NSLBServiceMonitorBinding -ServiceName SERVICE -MonitorName https

Get-NSLBService -Name SERVICE
Get-NSLBServiceMonitorBinding -Name SERVICE

Set-NSLBService -Name SERVICE -ClientIP ENABLED -ClientIPHeader X-Forwarded-For

Remove-NSLBServiceMonitorBinding -Name SERVICE -MonitorName https
Remove-NSLBService -Name SERVICE

Types of changes

Checklist: