Tag: rds

(18 Scripts)

<< Zurück zur Skript-Bibliothek
Aktiviert einen Horizon RDS Server

Kann als automatische oder manuelle Aktion verwendet werden, um den Horizon RDS-Server nach der Fehlerbehebung oder Wartung zu aktivieren.

Diese Aktion sollte gegen einen Horizon-Endpunktrechner ausgeführt werden (der in der ControlUp Console die Spalte HZ Primary Connection Server ausgefüllt hat), der Teil des entsprechenden Desktop-Pools ist. Das Skript verwendet die Zielmaschine, um die Adresse des Verbindungs-Servers und den Namen des Desktop-Pools zu ermitteln, und wird auf der Maschine ausgeführt, auf der die ControlUp Console läuft.

Für dieses Skript muss VMWare PowerCLI auf dem Rechner installiert sein, auf dem das Skript ausgeführt wird.

PowerCLI kann über PowerShell installiert werden (PowerShell Version 5 oder höher erforderlich), indem Sie den Befehl "Install-Module VMWare.PowerCLI -Force -AllowCLobber -Scope AllUsers" ausführen.
Version: 2.0.3 -   Erstellt: 2023-04-06 -   Geändert: 2023-05-23
Deaktiviert einen Horizon RDS-Server

Kann als automatisierte oder manuelle Aktion verwendet werden, um Horizon RDS Server zur Fehlerbehebung oder Wartung zu deaktivieren.

Diese Aktion sollte gegen einen Horizon-Endpunktrechner ausgeführt werden (der in der ControlUp Console die Spalte HZ Primary Connection Server ausgefüllt hat), der Teil des entsprechenden Desktop-Pools ist. Das Skript verwendet die Zielmaschine, um die Adresse des Verbindungs-Servers und den Namen des Desktop-Pools zu ermitteln, und wird auf der Maschine ausgeführt, auf der die ControlUp Console läuft.

Für dieses Skript muss VMWare PowerCLI auf dem Rechner installiert sein, auf dem das Skript ausgeführt wird.

PowerCLI kann über PowerShell installiert werden (PowerShell Version 5 oder höher erforderlich), indem Sie den Befehl "Install-Module VMWare.PowerCLI -Force -AllowCLobber -Scope AllUsers" ausführen.
Version: 2.0.12 -   Erstellt: 2023-04-06 -   Geändert: 2023-05-23
Check Profile Sizes examines user profiles for all or selected user accounts on the target machine, grouping the results by file type, using the extension.

For each group of files, if the size of the group exceeds a threshold (default 15% of the total profile size) the individual files are listed, sorted by path or by size (descending) and showing the actual file size in bytes.

To keep the output reasonably short, a threshold is set on the number of files shown individually per are listed by path (default 6) - beyond this, files are summarized by folder (order by count of files, descending).

Argumente:
ThresholdPercentToExpand (default: 15) - the threshold percent of the total profile size at which a file-extension group is listed.
SamAccountNameList (default: All) - the list of account names to be reported (comma-separated, any leading or trailing spaces will be trimmed). If set to All, the script will include local user and Active Directory user accounts.
SortBy (default: Size) - must be set to Size (individual files are listed by size, descending) or Path (individual files are listed by full path, ascending).
PreSummarySize (default: 6) - the number of files that will be listed individually (by group, according to the configured sort order) before the script switches to reporting files grouped by folder.
Version: 1.2.17  •   Erstellt: 2023-03-08  •   Geändert: 2023-03-23
Diese Skriptaktion verwendet die ServiceNow API, um einen Vorfall in ServiceNow IT Service Management zu erstellen. Das vorgestellte Skript ist für einen bestimmten Anwendungsfall gedacht: Es erstellt einen Vorfall, der den vollständigen Namen des Benutzers, die Anmeldedauer des Benutzers und den Rechnernamen enthält.

Diese Skriptaktion kann auch als Beispiel/Vorlage für Ihre eigenen ServiceNow-Integrationsanforderungen verwendet werden. Im Skript finden Sie weitere Details zum Ändern.
Version: 1.2.15 -   Erstellt: 2020-10-21 -   Geändert: 2020-12-01
Pull all or just error, warning & critical event log entries from a given number of seconds before logon to a given number of seconds after logon.
Can assist in finding causes of slow or incorrect logons.
Version: 1.3.18  •   Erstellt: 2020-06-19  •   Geändert: 2020-06-19
Ändert die Anzahl der RDS-Hosts in einer Horizon Farm.

Diese Aktion sollte gegen einen Horizon-Endpunktrechner ausgeführt werden (einer, bei dem die Spalte "HZ Primary Connection Server" in der ControlUp Console ausgefüllt ist). Das Skript verwendet die Zielmaschine, um die Verbindungsserveradresse zu ermitteln, und wird auf der Maschine ausgeführt, auf der die ControlUp-Konsole läuft.

Für dieses Skript muss VMWare PowerCLI auf dem Rechner installiert sein, auf dem das Skript ausgeführt wird.
PowerCLI kann über PowerShell installiert werden (PowerShell Version 5 oder höher erforderlich), indem Sie den Befehl "Install-Module VMWare.PowerCLI -Force -AllowCLobber -Scope AllUsers" ausführen.
Version: 1.5.6 -   Erstellt: 2020-01-09 -   Geändert: 2020-02-11
Leverage MSTSC.exe for Shadow and remote control of sessions.

For troubleshooting see:
https://support.controlup.com/hc/en-us/articles/360000602929-Shadow-RDS-Session-without-prompt

Note for Win10: Make sure you are allowing "Remote Desktop -Shadow (TCP-In)" in the Firewall
Version: 1.7.20  •   Erstellt: 2019-11-09  •   Geändert: 2020-06-11
This script finds Internet Explorer processes corresponding to tabs in which the URL matches the pattern provided by the user in the "Tab Title Pattern" argument, and kills these processes.

Internet Explorer may recover the killed tab automatically, which is a default behavior controlled by the the "Enable automatic crash recovery" setting. When set to "yes", the "Disable Tab Recovery" setting of this script will prevent the killed tab from getting reopened. Tab recovery will then remain disabled at the user level.

If the Force parameter is set to "yes", the script will terminate the processes it found, even if their count does not correlate to the number of tabs matching the provided pattern. Be advised that this option may result in closing more tabs than intended, and should be used with caution.
Version: 1.5.28  •   Erstellt: 2019-04-01  •   Geändert: 2019-04-10
This script creates a video of the entire user display area and saves it in a location of choice. This script requires ffmpeg.exe to be downloaded and placed in an accessible location.
Version: 1.3.4 -   Erstellt: 2019-03-13 -   Geändert: 2019-03-27
Dieses Skript ermittelt die Abmessungen des Arbeitsbildschirms des Benutzers und erstellt Bildschirmfotos. Die Screenshots können als BMP, JPG oder PNG an einem Ort Ihrer Wahl gespeichert werden.
Version: 3.2.5 -   Erstellt: 2019-03-13 -   Geändert: 2023-03-20
Dieses Skript ermittelt die Abmessungen des Arbeitsbereichs des Benutzers und erstellt einen Screenshot. Der Screenshot kann als BMP, JPG oder PNG an einem Ort Ihrer Wahl gespeichert werden.
Version: 2.3.5 -   Erstellt: 2019-02-25 -   Geändert: 2022-12-14
Logs off the selected user session
Version: 2.1.2  •   Erstellt: 2019-01-27  •   Geändert: 2022-12-14
Displays the titles of all visible windows running in the user session
Version: 1.0.1 -   Erstellt: 2019-01-13  •   Geändert: 2019-01-13
Finds and optionally deletes local user profiles. The user can provide two arguments - the minimum profile age in days and the minimum profile size. The default operation mode is to display the profiles that fit these criteria. When the "Delete" option is set to "true", the script will delete the profiles it found.
Version: 2.4.20  •   Erstellt: 2018-12-26  •   Geändert: 2020-06-10
This SBA will check the event logs and report the negotiated RDP version.
Version: 1.5.13  •   Erstellt: 2018-11-22  •   Geändert: 2018-11-27
Logoff disconnected sessions on the selected computer(s) which have been disconnected in excess of a given period, specified in minutes.
Argumente:
Disconnected period - the time in minutes over which a user must have been disconnected before they are logged off (default is 10 minutes)
Version: 1.3.3  •   Erstellt: 2018-10-13  •   Geändert: 2018-11-23
Use quser.exe to find disconnected sessions on the chosen computer and order on the most recently disconnected, showing the user's logon time too.
Argumente:
Hours Back to Check - how far back to look for disconnected sessions so those disconnected before this time will not be included (default is 24 hours)
Version: 1.6.19  •   Erstellt: 2018-07-18  •   Geändert: 2018-11-21
Puts RDS hosts into maintenance mode using the chglogon command. The script will disable all new user connections to the server until it is rebooted (existing active connections are not affected).
Version: 1.0.5  •   Erstellt: 2016-03-07  •   Geändert: 2016-03-07
Wartung rds 247