Carl Stalhood

Sunday, 24 July 2016

PowerShell Xenapp 6.0 & 6.5 Application Report

https://youtu.be/XSFJ0xx7ztY

PowerShell Xenapp 6.0 & 6.5 Application Report

Add-PSSnapin Citrix*

Get-XAApplicationReport * | select DisplayName, FolderPath, ApplicationType, Enabled, CommandLineExecutable, ClientFolder, @{n="Servers";e={[string]::join(" ; ", $_.ServerNames)}}, @{n="WorkerGroups";e={[string]::join(" ; ", $_.WorkerGroupNames)}}, @{n="Users";e={[string]::join(" ; ", $_.Accounts)}} | Export-Csv -NoTypeInformation -Force C:\temp\XAReport.csv


Get-XAWorkerGroup | Select WorkerGroupname, @{n="Servers";e={[string]::join(" ; ", $_.ServerNames)}} | export-csv -NoTypeInformation -force c:\temp\WG.csv

Friday, 15 July 2016

Certificate types

Encodings (also used as extensions)

  • .DER = The DER extension is used for binary DER encoded certificates. These files may also bear the CER or the CRT extension.   Proper English usage would be “I have a DER encoded certificate” not “I have a DER certificate”.
  • .PEM = The PEM extension is used for different types of X.509v3 files which contain ASCII (Base64) armored data prefixed with a “—– BEGIN …” line.

Common Extensions

  • .CRT = The CRT extension is used for certificates. The certificates may be encoded as binary DER or as ASCII PEM. The CER and CRT extensions are nearly synonymous.  Most common among *nix systems
  • CER = alternate form of .crt (Microsoft Convention) You can use MS to convert .crt to .cer (.both DER encoded .cer, or base64[PEM] encoded .cer)  The .cer file extension is also recognized by IE as a command to run a MS cryptoAPI command (specifically rundll32.exe cryptext.dll,CryptExtOpenCER) which displays a dialogue for importing and/or viewing certificate contents.
  • .KEY = The KEY extension is used both for public and private PKCS#8 keys. The keys may be encoded as binary DER or as ASCII PEM.
The only time CRT and CER can safely be interchanged is when the encoding type can be identical.  (ie  PEM encoded CRT = PEM encoded CER)

Thursday, 14 July 2016

Netscaler command center

Command Center can be used to monitor, alert, and report on the following devices:
  1. NetScaler.
  2. NetScaler VPX.
  3. NetScaler SDX.
  4. NetScaler Gateway Enterprise Edition.
  5. CloudBridge.
  6. CloudBridge VPX.
  7. CitrixRepeater.                                                                                                                                               http://www.carlstalhood.com/citrix-command-center/