Scripts and files for all things Citrix
If you receive an error within PowerShell with any of the scripts from Windows 7 or Windows 2008 R2 SP1 like the one mentioned below. Please install Windows Management Framework 4.0 KB2819745
All things Citrix
License: GNU General Public License v3.0
Scripts and files for all things Citrix
If you receive an error within PowerShell with any of the scripts from Windows 7 or Windows 2008 R2 SP1 like the one mentioned below. Please install Windows Management Framework 4.0 KB2819745
link is added to the part for update netscaler is not valid anymore. I guess this is the correct link but I am not sure
https://techdrabble.com/citrix/netscaler/20-upgrade-netscaler-via-rest-api-install-command
NetScaler 11.0 66.11nc VPX - no HA
Tried to test your script. Got the following error. But I can't see a problem (right now)
PS C:\Users\Marco.Hofmann\Downloads\NetScaler 11.1> .\set-nsssl.ps1 -nsip 192.168.23.5 -adminaccount nsroot -adminpassword "Passw0rd" -ciphergroupname "Modern-Ciphers"
Connecting HTTP
Logging in...
Checking for DHKEY: dhkey2048.key
DHKEY NOT present...
DHKEY creation in process. Can take a couple of minutes...
Checking for cipher group...
Creating Modern-Ciphers
VPX FOUND...
Creating cipher group for VPX...
Checking for rewrite policy...
Creating pol-sts-force
Skipping SSL managment IPs...
Checking LB VIPs...
Checking VPN VIPs...
_XD_portal.example.com
Unbinding DEFAULT
Binding Modern-Ciphers
Invoke-RestMethod : { "errorcode": 1647, "message": "Input file(s) not present or not accessible in current partition", "severity": "ERROR" }
In C:\Users\Marco.Hofmann\Downloads\NetScaler 11.1\set-nsssl.ps1:274 Zeichen:5
+ Invoke-RestMethod -uri "$hostname/nitro/v1/config/sslvserver/$Name" -body $b ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
Checking CS VIPs...
Setting SSL renegotiation...
Saving NS config..
Logging out...
PS C:\Users\Marco.Hofmann\Downloads\NetScaler 11.1>
Hello,
I get this error when running the get-nslicexp.ps1 script. This happens when connecting via HTTP or HTTPS.
`PS C:\users\applebaumt\Desktop> .\Get-NSLicense.ps1 -nsip esvpx2 -adminpassword <removed> -https
Connecting HTTPS
Exception calling "ParseExact" with "3" argument(s): "String was not recognized as a valid DateTime."
At C:\users\applebaumt\Desktop\Get-NSLicense.ps1:215 char:1
+ $nsdate = [DateTime]::ParseExact($currentdatestr,"ddd MMM d HH:mm:ss ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : FormatException
Current NS Time:`
This is the netscaler version:
sh ver
NetScaler NS10.1: Build 123.1100.e.nc, Date: Feb 27 2014, 08:52:37
This is my PowerShell version:
PS C:\users\applebaumt\Desktop> $PSVersionTable.PSVersion
Major Minor Build Revision
5 0 10586 117
Please add Citrix WEM Agent versions to the json file.
After applying your script on a NetScaler 11.0 66.11nc VPX the text labels vanished.
Black Theme: https://i.imgur.com/uXfDsrr.png
X1 Theme: https://i.imgur.com/I3lnqZ1.png
Any idea why this happens?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.