Standardmäßig führt die mcdc CLI einmal alle 24 Stunden eine Versionsprüfung durch. Wenn Sie die mcdc-Befehlszeile ausführen und eine neue Version verfügbar ist, wird eine Meldung angezeigt, in der die Version der mcdc-Befehlszeile angegeben ist, auf die Sie aktualisieren können. Für diese Versionsprüfung ist eine Internetverbindung erforderlich.
Konfigurieren Sie bei Bedarf einen Proxy für den Zugriff auf das Internet:
Die mcdc-Befehlszeile sendet pseudonymisierte Nutzungsdaten, die Google dabei helfen können, Funktionen und Verbesserungen für die Suche und Bewertung zu priorisieren. Diese Nutzungsstatistiken werden gemäß der Google Cloud Datenschutzerklärung verarbeitet. In diesem Abschnitt wird beschrieben, wie Sie die Einstellung, ob Nutzungsstatistiken an Google gesendet werden sollen, jederzeit ändern können, nachdem Sie die mcdc-Befehlszeile installiert haben.
So deaktivieren Sie das Senden von Nutzungsstatistiken:
Nachdem Sie Daten erfasst und in das Migrationscenter exportiert oder eine Offlinebewertung durchgeführt haben, können Sie die Daten aus der lokalen Datenbank löschen:
Ersetzen Sie dabei DATABASE_NAME durch den Pfad zur Datenbank, in der die erfassten Daten gespeichert sind. Normalerweise befindet sich die Datei im selben Verzeichnis, in das Sie die mcdc-Befehlszeile installiert haben.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-03 (UTC)."],[],[],null,["# Manage Migration Center discovery client CLI\n\nThis document describes how you can manage the Migration Center discovery client CLI.\n\nBefore you begin\n----------------\n\n- Complete the steps to [download the `mcdc` CLI](/migration-center/docs/download-collector-cli).\n\nAutomatic version check\n-----------------------\n\nBy default, the `mcdc` CLI performs a version check once\nevery 24 hours. When you run the `mcdc` CLI and\na new version is available, a message is displayed which indicates that the\nversion of `mcdc` CLI that is available for you to upgrade\nto. This version check requires an internet connection.\n\n- When needed, configure a proxy to access the internet:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc config set proxy PROXY\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe config set proxy PROXY\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\n Replace \u003cvar translate=\"no\"\u003ePROXY\u003c/var\u003e with the IP address of the HTTP or HTTPS proxy.\n For example, `127.0.0.1:7777` or `socks5://127.0.0.1:1234`.\n- Deactivate the automatic version check by setting the\n `disable_version_checking` option:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc config set disable_version_checking true\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe config set disable_version_checking true\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\nManage configurations\n---------------------\n\nYou can manage the configuration properties by using the `config`\ncommand.\n\n- Print all configuration properties and their values:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc config list\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe config list\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\n- Print the value of a configuration property:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc config get PROPERTY_NAME\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe config get PROPERTY_NAME\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\n Replace \u003cvar translate=\"no\"\u003ePROPERTY_NAME\u003c/var\u003e with the name of the property\n for which you want to print the value.\n- Set a configuration property:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc config set proxy PROXY\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe config set proxy PROXY\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\n- Reset a configuration property to its default value:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc config unset proxy\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe config unset proxy\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\nManage usage statistics\n-----------------------\n\nThe `mcdc` CLI sends pseudoanonymized usage information\nthat can help Google to prioritize discovery and assessment features and\nimprovements. These usage statistics are handled in accordance with\n[Google Cloud Privacy Notice](/terms/cloud-privacy-notice). This\nsection describes how you can change whether usage statistics are sent to\nGoogle at any time after you've installed the `mcdc` CLI.\n\n- Disable sending usage statistics:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc config set disable_usage_reporting true\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe config set disable_usage_reporting true\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\n- Enable sending usage statistics:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc config set disable_usage_reporting false\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe config set disable_usage_reporting false\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\nDelete collected data from host machine\n---------------------------------------\n\n- After you've collected data and exported it to Migration Center or\n completed an offline assessment, you can delete the data from the local\n database:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc discover purge-db -db DATABASE_NAME\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe discover purge-db -db DATABASE_NAME\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\n Replace \u003cvar translate=\"no\"\u003eDATABASE_NAME\u003c/var\u003e with the path to the database\n where the collected data is stored. Typically, it is in the same directory\n where you installed the `mcdc` CLI.\n\nWhat's next\n-----------\n\n- Learn how to [run an offline assessment](/migration-center/docs/run-offline-assessment)."]]