{"id":257860,"date":"2024-05-22T08:11:46","date_gmt":"2024-05-22T08:11:46","guid":{"rendered":"https:\/\/www.ninjaone.com\/?post_type=script_hub&#038;p=257860"},"modified":"2024-05-22T08:24:35","modified_gmt":"2024-05-22T08:24:35","slug":"automatisieren-der-connectwise-url-erstellung-fuer-macos","status":"publish","type":"script_hub","link":"https:\/\/www.ninjaone.com\/de\/script-hub\/automatisieren-der-connectwise-url-erstellung-fuer-macos\/","title":{"rendered":"Skript-Leitfaden: Automatisieren der ConnectWise-URL-Erstellung f\u00fcr macOS"},"content":{"rendered":"<h2>Die wichtigsten Erkenntnisse<\/h2>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"1\" data-aria-level=\"1\">Das Skript automatisiert den Abruf und die Speicherung von ConnectWise Control Launch-URLs unter macOS, was den Remote-Support erheblich vereinfacht.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"2\" data-aria-level=\"1\">Es bietet Anpassungsoptionen f\u00fcr Instanz-IDs, Dom\u00e4nen, Sitzungsgruppen und benutzerdefinierte Felder, die auf spezifische IT-Umgebungen zugeschnitten sind.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"3\" data-aria-level=\"1\">Eine integrierte Hilfefunktion und Fehlerbehandlung verbessert die Benutzerf\u00fchrung und Fehlerbehebung.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"4\" data-aria-level=\"1\">Der Ansatz des Skripts ist effizienter und \u00fcbersichtlicher als die manuelle URL-Verwaltung oder einfache Skripting-L\u00f6sungen.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"5\" data-aria-level=\"1\">Sicherheit und kontrollierter Zugriff auf generierte URLs sind f\u00fcr die Aufrechterhaltung der IT-Sicherheit unerl\u00e4sslich.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"6\" data-aria-level=\"1\">Es wird empfohlen, das Skript vor dem vollst\u00e4ndigen Einsatz in einer bestimmten macOS-Umgebung zu testen.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"7\" data-aria-level=\"1\">Durch die Integration dieses Skripts in ein umfassenderes Toolset wie NinjaOne k\u00f6nnen Fernsupport- und IT-Managementaufgaben weiter optimiert werden.<\/li>\n<\/ul>\n<h2>Hintergrund<\/h2>\n<p>In der vernetzten IT-Landschaft von heute sind Effizienz und Zuverl\u00e4ssigkeit beim Remote-Support nicht nur Annehmlichkeiten, sondern eine Notwendigkeit. Die fortgeschrittene Skripterstellung, insbesondere im Zusammenhang mit der Verwaltung von Fernwartungssoftware, spielt eine zentrale Rolle bei der Erreichung dieser Ziele. Das Skript, das wir heute besprechen, ist ein Beispiel daf\u00fcr und bietet einen optimierten Ansatz f\u00fcr die Verwaltung von<a href=\"https:\/\/www.ninjaone.com\/de\/integrations\/connectwise-screenconnect\/\"> ConnectWise Control<\/a> (fr\u00fcher ScreenConnect) Sitzungen unter macOS.<\/p>\n<p>Dieses Bash-Skript ist f\u00fcr IT-Fachleute und <a href=\"https:\/\/www.ninjaone.com\/what-is-an-msp\/\">Managed Service Provider (MSPs<\/a> ) gedacht, die ConnectWise Control f\u00fcr den Fernsupport verwenden. Seine Hauptfunktion besteht darin, ConnectWise Control Launch URLs abzurufen und zu speichern, eine entscheidende Komponente bei der Remote-Desktop-Unterst\u00fctzung. Bei diesem Prozess werden spezifische Instanz-IDs, Dom\u00e4neninformationen und Sitzungsgruppen verwendet, um genaue und zug\u00e4ngliche URLs zu erstellen. Seine Bedeutung liegt in der Automatisierung einer typischerweise manuellen und zeitaufw\u00e4ndigen Aufgabe, wodurch die Produktivit\u00e4t und die Reaktionszeiten der IT-Supportteams verbessert werden.<\/p>\n<h2>Das Skript:<\/h2>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">#!\/usr\/bin\/env bash\r\n#\r\n# Description: Retrieves the Connectwise ScreenConnect Launch URL and saves it to a custom field (defaults to screenconnectURL). Requires the domain used for ScreenConnect and a Session Group that all machines are a part of to successfully build the URL.\r\n# By using this script, you indicate your acceptance of the following legal terms as well as our Terms of Use at https:\/\/www.ninjaone.com\/terms-of-use.\r\n# Ownership Rights: NinjaOne owns and will continue to own all right, title, and interest in and to the script (including the copyright). NinjaOne is giving you a limited license to use the script in accordance with these legal terms. \r\n# Use Limitation: You may only use the script for your legitimate personal or internal business purposes, and you may not share the script with another party. \r\n# Republication Prohibition: Under no circumstances are you permitted to re-publish the script in any script library or website belonging to or under the control of any other software provider. \r\n# Warranty Disclaimer: The script is provided \u201cas is\u201d and \u201cas available\u201d, without warranty of any kind. NinjaOne makes no promise or guarantee that the script will be free from defects or that it will meet your specific needs or expectations. \r\n# Assumption of Risk: Your use of the script is at your own risk. You acknowledge that there are certain inherent risks in using the script, and you understand and assume each of those risks. \r\n# Waiver and Release: You will not hold NinjaOne responsible for any adverse or unintended consequences resulting from your use of the script, and you waive any legal or equitable rights or remedies you may have against NinjaOne relating to your use of the script. \r\n# EULA: If you are a NinjaOne customer, your use of the script is subject to the End User License Agreement applicable to you (EULA).\r\n#\r\n# Preset Parameter: --instanceId \"ReplaceMeWithYourInstanceId\"\r\n#   The Instance ID for your instance of ScreenConnect. Used to differentiate between multiple installed ScreenConnect instances.\r\n#   To get the instance ID, you can see it in the program name, e.g., connectwisecontrol-yourinstanceidhere.\r\n#   It's also available in the ScreenConnect Admin Center (Administration &gt; Advanced &gt; Server Information).\r\n#\r\n# Preset Parameter: --screenconnectDomain \"replace.me\"\r\n#   The domain used for your ScreenConnect instance.\r\n#\r\n# Preset Parameter: --sessionGroup \"ReplaceMe\"\r\n#   A session group that contains all of your machines (defaults to All Machines)\r\n#\r\n# Preset Parameter: --customField \"ReplaceMeWithAnyMultilineCustomField\"\r\n#   The custom field you would like to store this information in.\r\n#\r\n# Preset Parameter: --help\r\n#   Displays some help text.\r\n\r\n# These are all our preset parameter defaults. You can set these = to something if you would prefer the script defaults to a certain parameter value.\r\n_arg_instanceId=\r\n_arg_screenconnectdomain=\r\n_arg_sessiongroup=\"All Machines\"\r\n_arg_customfield=\"screenconnectURL\"\r\n_fieldValue=\r\n\r\n# Help text function for when invalid input is encountered\r\nprint_help() {\r\n  printf '\\n\\n%s\\n\\n' 'Usage: [--instanceId|-i &lt;arg&gt;] [--screenconnectDomain|-d &lt;arg&gt;] [--sessionGroup|-g &lt;arg&gt;] [--customField|-c &lt;arg&gt;] [--help|-h]'\r\n  printf '%s\\n' 'Preset Parameter: --instanceid \"ReplaceWithYourInstanceID\"'\r\n  printf '\\t%s\\n' \"Replace the text encased in quotes with your instance ID. You can see the instance ID in the ScreenConnect Admin Center (Administration &gt; Advanced &gt; Server Information). It's also usually present in the application name on any installed instance, e.g., connectwisecontrol-yourinstanceid.\"\r\n  printf '\\n%s\\n' 'Preset Parameter: --screenconnectDomain \"replace.me\"'\r\n  printf '\\t%s' \"Replace the text encased in quotes with the domain used for ConnectWise ScreenConnect, e.g., 'example.screenconnect.com'.\"\r\n  printf '\\n%s\\n' 'Preset Parameter: --sessionGroup \"Replace Me\"'\r\n  printf '\\t%s' \"Replace the text encased in quotes with the name of a Session Group in ConnectWise ScreenConnect that contains All Machines (defaults to All Machines). ex. 'All Machines'\"\r\n  printf '\\n%s\\n' 'Preset Parameter: --customField \"replaceMe\"'\r\n  printf '\\t%s' \"Replace the text encased in quotes with the name of a custom field you'd like to store this information to (defaults to launchUrl). ex. 'screenconnectUrl'\"\r\n  printf '\\n%s\\n' 'Preset Parameter: --help'\r\n  printf '\\t%s\\n' \"Displays this help menu.\"\r\n}\r\n\r\n# Determines whether or not help text is necessary and routes the output to stderr\r\ndie() {\r\n  local _ret=\"${2:-1}\"\r\n  echo \"$1\" &gt;&amp;2\r\n  test \"${_PRINT_HELP:-no}\" = yes &amp;&amp; print_help &gt;&amp;2\r\n  exit \"${_ret}\"\r\n}\r\n\r\n# Grabbing the parameters and parsing through them.\r\nparse_commandline() {\r\n  while test $# -gt 0; do\r\n    _key=\"$1\"\r\n    case \"$_key\" in\r\n    --screenconnectdomain | --screenconnectDomain | --domain | -d)\r\n      test $# -lt 2 &amp;&amp; die \"Missing value for the optional argument '$_key'.\" 1\r\n      _arg_screenconnectdomain=$2\r\n      shift\r\n      ;;\r\n    --screenconnectdomain=*)\r\n      _arg_screenconnectdomain=\"${_key##--screenconnectdomain=}\"\r\n      ;;\r\n    --instanceId | --instanceid | -i)\r\n      test $# -lt 2 &amp;&amp; die \"Missing value for the optional argument '$_key'.\" 1\r\n      _arg_instanceId=$2\r\n      shift\r\n      ;;\r\n    --instanceid=*)\r\n      _arg_instanceId=\"${_key##--instanceid=}\"\r\n      ;;\r\n    --sessionGroup | --sessiongroup | -g)\r\n      test $# -lt 2 &amp;&amp; die \"Missing value for the optional argument '$_key'.\" 1\r\n      _arg_sessiongroup=$2\r\n      shift\r\n      ;;\r\n    --sessiongroup=*)\r\n      _arg_sessiongroup=\"${_key##--sessiongroup=}\"\r\n      ;;\r\n    --customField | --customfield | -c)\r\n      test $# -lt 2 &amp;&amp; die \"Missing value for the optional argument '$_key'.\" 1\r\n      _arg_customfield=$2\r\n      shift\r\n      ;;\r\n    --customfield=*)\r\n      _arg_customfield=\"${_key##--customfield=}\"\r\n      ;;\r\n    --help | -h)\r\n      _PRINT_HELP=yes die 0\r\n      ;;\r\n    *)\r\n      _PRINT_HELP=yes die \"FATAL ERROR: Got an unexpected argument '$1'\" 1\r\n      ;;\r\n    esac\r\n    shift\r\n  done\r\n}\r\n\r\n# Function to set a custom field\r\nsetCustomField() {\r\n  echo \"$_fieldValue\" | \/Applications\/NinjaRMMAgent\/programdata\/ninjarmm-cli set --stdin \"$_arg_customfield\"\r\n}\r\n\r\nexport PATH=$PATH:\/usr\/sbin:\/usr\/bin\r\n\r\nparse_commandline \"$@\"\r\n\r\n# If script form is used override commandline agruments\r\nif [[ -n $screenconnectDomain ]]; then\r\n  _arg_screenconnectdomain=\"$screenconnectDomain\"\r\nfi\r\n\r\nif [[ -n $sessionGroup ]]; then\r\n  _arg_sessiongroup=\"$sessionGroup\"\r\nfi\r\n\r\nif [[ -n $instanceId ]]; then\r\n  _arg_instanceId=\"$instanceId\"\r\nfi\r\n\r\nif [[ -n $customFieldName ]]; then\r\n  _arg_customfield=\"$customFieldName\"\r\nfi\r\n\r\n# If we weren't given an instance id we should warn that this is not advised.\r\nif [[ -z $_arg_instanceId ]]; then\r\n  echo \"WARNING: Without the instance id we will be unable to tell which ScreenConnect instance is yours (if multiple are installed). This may result in the wrong URL being displayed.\"\r\n  echo \"To get the instance id you can find it in ScreenConnect itself (Admin &gt; Advanced &gt; Server Information &gt; Instance Identifier Fingerprint). It's also in the application name on every installed copy 'connectwisecontrol-yourinstanceidhere'\"\r\nfi\r\n\r\n# --screenconnectDomain and --sessionGroup are required. We should also escape the session group given.\r\nif [[ -z $_arg_screenconnectdomain || -z $_arg_sessiongroup ]]; then\r\n  _PRINT_HELP=yes die \"FATAL ERROR: Unable to build the URL without the Domain and Session Group!\" 1\r\nelse\r\n  _arg_sessiongroup=$(echo \"$_arg_sessiongroup\" | perl -MURI::Escape -ne 'chomp;print uri_escape($_),\"\\n\"')\r\nfi\r\n\r\n# Double check ScreenConnect is installed\r\ninstalledPkg=$(pkgutil --pkgs | grep \"connectwisecontrol-$_arg_instanceId\")\r\nif [[ -z $installedPkg ]]; then\r\n  _PRINT_HELP=no die \"FATAL ERROR: It appears ConnectWise ScreenConnect is not installed!\" 1\r\nfi\r\n\r\n# Lets start building some urls\r\nfor pkg in $installedPkg; do\r\n  file=\"\/Applications\/$pkg.app\/Contents\/Resources\/ClientLaunchParameters.txt.lproj\/locversion.plist\"\r\n  id=$(grep -Eo 's=.{8}-.{4}-.{4}-.{4}-.{12}' \"$file\" | sed 's\/s=\/\/g' | sed 's\/&amp;e=Access\/\/g')\r\n  instanceid=${pkg\/\/\"connectwisecontrol-\"\/}\r\n  # We shouldn't have multiple results but if we do we should warn the technician\r\n  if [[ -n \"$launchurls\" ]]; then\r\n    echo \"WARNING: Multiple installed instances detected and no instance id was given. One of these urls will be incorrect.\"\r\n    launchurls=$(\r\n      printf '%s\\n' \"$launchurls\"\r\n      printf '%s\\t' \"$instanceid\"\r\n      printf '%s\\n' \"https:\/\/$_arg_screenconnectdomain\/Host#Access\/$_arg_sessiongroup\/\/$id\/Join\"\r\n    )\r\n  else\r\n    launchurls=$(\r\n      printf '%s\\t\\t' \"InstanceID\"\r\n      printf '%s\\n' \"LaunchURL\"\r\n      printf '%s\\t' \"$instanceid\"\r\n      printf '%s\\t' \"https:\/\/$_arg_screenconnectdomain\/Host#Access\/$_arg_sessiongroup\/\/$id\/Join\"\r\n    )\r\n  fi\r\ndone\r\n\r\n# Check that we were successful\r\nif [[ -n $launchurls ]]; then\r\n  echo \"Launch URL(s) Created\"\r\nelse\r\n  _PRINT_HELP=no die \"FATAL ERROR: Failed to create Launch URL(s)!\" 1\r\nfi\r\n\r\n# Change how we output the results based on how many urls we received.\r\nif [[ $(echo \"$launchurls\" | wc -l) -gt 2 ]]; then\r\n  _fieldValue=\"$launchurls\"\r\n  echo \"$_fieldValue\"\r\nelse\r\n  _fieldValue=$(echo \"$launchurls\" | tail -n 1 | awk '{print $2}')\r\n  echo \"$_fieldValue\"\r\nfi\r\n\r\necho \"Setting Custom Field...\"\r\nsetCustomField\r\nexit 0<\/pre>\n<p>&nbsp;<\/p>\n\n<div class=\"in-context-cta\"><p>Zugriff auf \u00fcber 300 Skripte im NinjaOne Dojo<\/p>\n<p><a href=\"https:\/\/www.ninjaone.com\/freetrialform\/\">Zugang erhalten<\/a><\/p>\n<\/div>\n<h2>Detaillierte Aufschl\u00fcsselung<\/h2>\n<p>Das Skript arbeitet in mehreren Stufen:<\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"1\" data-aria-level=\"1\"><strong>Initialisierung der Parameter<\/strong>: Zun\u00e4chst werden Standardwerte f\u00fcr verschiedene Parameter wie Instanz-ID, Dom\u00e4ne, Sitzungsgruppe und Name des benutzerdefinierten Feldes festgelegt.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"2\" data-aria-level=\"1\"><strong>Hilfe-Funktion<\/strong>: Es ist eine Hilfetextfunktion integriert, die den Benutzer durch die Verwendung des Skripts f\u00fchrt, insbesondere im Falle ung\u00fcltiger Eingaben.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"3\" data-aria-level=\"1\"><strong>Befehlszeilenanalyse<\/strong>: Er analysiert die Befehlszeilenargumente, um Einstellungen wie Domain und Instanz-ID anzupassen.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"4\" data-aria-level=\"1\"><strong>Benutzerdefinierte Feldeinstellung<\/strong>: Das Skript enth\u00e4lt eine Funktion zum Festlegen eines benutzerdefinierten Feldes im NinjaOne-RMM-Tool, in dem die ConnectWise Control URL gespeichert wird.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"5\" data-aria-level=\"1\"><strong>Erstellen von Start-URLs<\/strong>: Die Kernfunktionalit\u00e4t besteht darin, die Start-URLs zu erstellen, indem die erforderlichen IDs aus installierten Paketen extrahiert und die URL basierend auf bereitgestellten Parametern konstruiert wird.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"6\" data-aria-level=\"1\"><strong>Ausgabeverarbeitung<\/strong>: Je nach Anzahl der generierten URLs speichert es diese entweder in einem benutzerdefinierten Feld oder gibt sie direkt aus.<\/li>\n<\/ul>\n<h2>Potenzielle Anwendungsf\u00e4lle<\/h2>\n<p>Stell dir einen IT-Experten vor, der eine Flotte von Ger\u00e4ten in verschiedenen Kundenorganisationen verwaltet. Sie m\u00fcssen rechtzeitig Remote-Support bereitstellen, aber die Verwaltung einzelner Sitzungs-URLs ist umst\u00e4ndlich. Mit diesem Skript k\u00f6nnen sie diese URLs schnell generieren und speichern und so einen schnellen und organisierten Fernzugriff gew\u00e4hrleisten.<\/p>\n<h2>Vergleiche<\/h2>\n<p>Traditionell konfigurieren IT-Expert:innen jede Sitzungs-URL manuell oder verwenden weniger ausgefeilte Skripte. Dieses Skript automatisiert jedoch den gesamten Prozess und ist speziell auf ConnectWise Control unter macOS zugeschnitten, was eine effizientere und fehlerfreie L\u00f6sung darstellt.<\/p>\n<h2>FAQs:<\/h2>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"7\" data-aria-level=\"1\"><strong>Wie finde ich die Instanz-ID?<\/strong>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"7\" data-aria-level=\"1\">\u00dcberpr\u00fcfen Sie das ScreenConnect Admin Center oder den Anwendungsnamen auf installierten Instanzen.<\/li>\n<\/ul>\n<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"8\" data-aria-level=\"1\"><strong>Ist es mit allen macOS-Versionen kompatibel?<\/strong>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"8\" data-aria-level=\"1\">Es ist f\u00fcr allgemeine Kompatibilit\u00e4t ausgelegt, aber testen Sie es immer zuerst mit Ihrer spezifischen Version.<\/li>\n<\/ul>\n<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"9\" data-aria-level=\"1\"><strong>Kann ich das Speicherfeld f\u00fcr URLs anpassen?<\/strong>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"9\" data-aria-level=\"1\">Ja, das Skript erm\u00f6glicht die Einstellung eines benutzerdefinierten Feldes Ihrer Wahl.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>Auswirkungen<\/h2>\n<p>Auch wenn das Skript die Verwaltung von Remote-Sitzungen vereinfacht, m\u00fcssen die Sicherheitsaspekte ber\u00fccksichtigt werden. F\u00fcr die IT-Sicherheit ist es von entscheidender Bedeutung, dass URLs sicher gespeichert werden und der Zugriff kontrolliert wird.<\/p>\n<h2>Empfehlungen<\/h2>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"1\" data-aria-level=\"1\">Aktualisieren Sie das Skript regelm\u00e4\u00dfig, um es an neue Updates in ConnectWise Control anzupassen.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"2\" data-aria-level=\"1\">Achten Sie auf die Sicherheitsberechtigungen f\u00fcr die gespeicherten URLs.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"3\" data-aria-level=\"1\">Testen Sie das Skript in einer kontrollierten Umgebung, bevor Sie es in gro\u00dfem Umfang einsetzen.<\/li>\n<\/ul>\n<h2>Abschlie\u00dfende \u00dcberlegungen<\/h2>\n<p>Die Einbindung solcher Skripte in ein umfassenderes Toolkit wie NinjaOne kann die F\u00e4higkeit eines IT-Experten zur effizienten und sicheren Verwaltung des Remote-Supports erheblich verbessern. NinjaOnes umfassender Ansatz zur <a href=\"https:\/\/www.ninjaone.com\/de\/rmm\/\">Fern\u00fcberwachung und -verwaltung<\/a> erg\u00e4nzt diese Skripte und bietet eine robuste Plattform f\u00fcr das IT-Management.<\/p>\n","protected":false},"author":35,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","_lmt_disableupdate":"no","_lmt_disable":""},"operating_system":[4210],"use_cases":[4280],"class_list":["post-257860","script_hub","type-script_hub","status-publish","hentry","script_hub_category-macos","use_cases-system-konfiguration"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.ninjaone.com\/de\/wp-json\/wp\/v2\/script_hub\/257860","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ninjaone.com\/de\/wp-json\/wp\/v2\/script_hub"}],"about":[{"href":"https:\/\/www.ninjaone.com\/de\/wp-json\/wp\/v2\/types\/script_hub"}],"author":[{"embeddable":true,"href":"https:\/\/www.ninjaone.com\/de\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ninjaone.com\/de\/wp-json\/wp\/v2\/comments?post=257860"}],"wp:attachment":[{"href":"https:\/\/www.ninjaone.com\/de\/wp-json\/wp\/v2\/media?parent=257860"}],"wp:term":[{"taxonomy":"script_hub_category","embeddable":true,"href":"https:\/\/www.ninjaone.com\/de\/wp-json\/wp\/v2\/operating_system?post=257860"},{"taxonomy":"use_cases","embeddable":true,"href":"https:\/\/www.ninjaone.com\/de\/wp-json\/wp\/v2\/use_cases?post=257860"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}