Giter VIP home page Giter VIP logo

citrix's Introduction

Citrix

Scripts and files for all things Citrix

Troubleshooting the scripts.

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 Alt text

citrix's People

Contributors

johnmcbride avatar piethugen avatar ryancbutler avatar xenadmin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

citrix's Issues

Error while applying for the first time

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>

Daysleft function broken

Hey,

while testing the script i noticed that the function to calculate the days left is broken, at least for me here. I attached a screenshot with errors.
Besides that the script runs well.

Thanks

unbenannt

String was not recognized as a valid DateTime.

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

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.