Script Library

Order by
Showing controlup scripts that tagged 'sshenabled, logon scripts, logging, disconnected' ordered by Date

Disable or Enable SSH on an VMware ESXi host 1.2.25

Using PowerCLI, Connect to vCenter and start or stop the SSH service on a host. Notet that , the computer running this script must have PowerCLI, and vCenter credentails are required during script execution. tags:$HypervisorPlatform="VMware",$SSHenabled
Created: 2019-10-04
Modified: 2019-10-04
Creator: mc
Downloads: 37

Show StoreFront log file 1.3.6

Pull all log separate Citrix StoreFront log files into a single time sorted csv file. You may need to change the StoreFront logging levels first which can be done with the "Show or Change StoreFront Logging" SBA. Use to help diagnose StoreFront issues. Arguments: Output csv file - full path to a local or remote file to store the log entries in Start - optional time to start log export from, e.g. just before the problem started or was reproduced. Can be specified as a date/time or as a number of units of time back from the present such as 7d or 1w where s=second,m=minute,h=hour,d=day,w=week,y=year End - optional time to stop log export at. Can be specified either as a date/time or a number of units of time from the start value specified. If date/time values are used, they must be enclosed in double quotes, e.g. "02/02/2018 08:00:00" tags:Citrix,StoreFront,Logging
Created: 2018-10-23
Modified: 2018-11-26
Creator: Guy Leech
Downloads: 69

Show or change StoreFront logging level 1.4.14

Query or change the logging levels in Citrix StoreFront. Enable more verbose logging when troubleshooting potential StoreFront issues but turn the level back to off or error when finished to reduce the impact on CPU and free disk space. Arguments: Cluster - ff set to true then all servers in the cluster will be discovered and reported/operated on rather than just the selected computer (default is false) Trace Level - specify one of: 'Off', 'Error','Warning','Info','Verbose' or leave empty to query rather than change the current settings (default is empty) tags:Citrix,StoreFront,Logging
Created: 2018-10-17
Modified: 2018-11-26
Creator: Guy Leech
Downloads: 52

Disconnect or log off idle sessions 1.5.7

Disconnect or logoff sessions on the selected computer(s) which have been idle in excess of a given period, specified in minutes. Arguments: Idle Period - the time in minutes after which a disconnected session will be logged off or disconnected depending on the value for the "Logoff" argument (default is 30 minutes) Logoff - if true, sessions idle in excess of the idle period will be logged off, otherwise they will be disconnected (default is false so sessions will be disconnected) tags:Citrix,Log off,Idle Sessions,Disconnected Sessions
Created: 2018-10-13
Modified: 2018-11-23
Creator: Guy Leech
Downloads: 167

Cancel pending logoffs 1.3.3

Cancels any "Message and Logoff" SBAs which are still running on the selected computer(s) by finding the associated PowerShell process and terminating it. Arguments: Cancellation Message - A message to display to the users so they can be informed that they will not be logged off (default is no mesage) tags:Logoff,Citrix,Idle,Disconnected
Created: 2018-10-12
Modified: 2018-11-23
Creator: Guy Leech
Downloads: 35

Message and schedule logoff 1.3.13

Send a message to all connected sessions and then log them all off after a specified amount of time. The message can be repeated at a specified interval if required. For instance, a delay of 15 minutes can be set and the users messaged every 5 minutes with the text specified in the "Message Text" argument. When the configured script timeout of 60 seconds is reached, an error will be displayed but the script will keep running. If you need to cancel the logoff once the script has timed out, run the "Cancel Logoffs" SBA for the same computer(s) Arguments: Message Text - The text of the message to display to all connected users on the selected computer(s) Delay Before Logoff - The period in minutes from when the script is invoked to when all users will be automatically logged off by the SBA Message Every - how often, in minutes, the same message is displayed to the remaining users. Specify zero or a blank value to not repeat the message after the initial display tags:Citrix,Idle,Disconnected,Logoff
Created: 2018-10-12
Modified: 2018-11-23
Creator: Guy Leech
Downloads: 89

Show GPO logon scripts 1.4.9

Run gpresult for the selected user to get a list of scripts that ran at logon and show where they are located, including the containing GPO's name and GUID, so that it is easy to view the script contents with a view to troubleshooting, optimising, etc. It also shows the size of the script, any parameters passed to it and when it was last modified tags:Group Policy,Logon Duration,Logon Scripts
Created: 2018-10-05
Modified: 2018-11-20
Creator: Guy Leech
Downloads: 459
1 - 7 of 8 Scripts
< Prev   1  2   Next >