Giter Club home page Giter Club logo

citrix.netscaler's People

Contributors

ramblingcookiemonster avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

citrix.netscaler's Issues

Property name, Object name mismatch

Property name bug:

If you get an error indicating 'select : Property "some property" cannot be found.', please use the -Raw switch on the command as a workaround.

The issue is that in general, the NetScaler API returns the object type name (ns). In some cases, it does not do this. e.g. The stat with the name ns returns nstrace, instead of ns.

#I get an error from command below:  'select : Property "ns" cannot be found.'
Get-NSnsStat -Address ctx-ns-tst-01 -WebSession $session -AllowHTTPAuth

#Adding the -raw switch, I can get the unadulterated Invoke-RESTMethod results, which include an nstrace property:
Get-NSnsStat -Address ctx-ns-tst-01 -WebSession $session -AllowHTTPAuth -Raw

#To extract the nstrace property, I would run this
Get-NSnsStat -Address ctx-ns-tst-01 -WebSession $session -AllowHTTPAuth -Raw | Select -expandproperty nstrace

Will change from a method of selecting static object name from Invoke-RESTMethod output, look for a way to make this dynamic.

Add lbvservers on a NetScaler

Provide the creation a lbvservers on a netscaler, with parameters [-Address ] [[-lbname] ] [[-lbservice] ] [[-lbvipaddress] ] [[-lbport] ] [[-lbmethod] ] [[-lbenv]] [[-srvuser] ] [[-srvpass] ] [[-comment]] [-Raw] [-AllowHTTPAuth] [-TrustAllCertsPolicy ], also i suggest to compose lbname the mask VIP_$lbname_$lbenv_$lbport(VIP_product_QA_80)

Add-NSconfiglbvserver -Address CTX-NS-01 -lbname product -lbservice HTTP|HTTPS -lbvipaddress 1.1.2.1 -lbport 80 -lbmethod "roundrobin|lastcon" -lbenv "environment QA|DEV|PROD" -srvuser -comment "comment it" -AllowHTTPAuth

Add a server on a NetScaler

Provide the creation a server on a netscaler, with parameters -Address, hostname ipaddress login and password to user of a service.

Add-NSserverconfig [-Address ] [[-vname] ] [[-hostip] ] [[-srvuser] ] [[-srvpass] ] [-Raw] [-AllowHTTPAuth] [-TrustAllCertsPolicy ] []

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.