--- title: "AZ Get Console Screenshot" slug: "az-get-console-screenshot" updated: 2025-07-02T17:14:19Z published: 2025-07-02T17:14:19Z canonical: "support.controlup.com/az-get-console-screenshot" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.controlup.com/llms.txt > Use this file to discover all available pages before exploring further. # AZ Get Console Screenshot This script captures a screenshot of the current state of the selected Azure virtual machine and saves it to a folder on the console machine. ## Run the Script When you run the **AZ Get console screenshot** script, you need to provide the following input parameters: **Screenshot Folder**. The local path where the screenshot should be saved. **Screenshot File**. The file name of the screenshot. As an extension, we recommend to use *.jpg or *.png. Using our example, we want to save the screenshot as test.png to the C:\tmp folder on the console machine. To do so, you need to provide the following information: ![Command line arguments settings for the AZ Get console screenshot script. Screenshot folder is set to C:mp. Screenshot File is set to test.png.](https://cdn.document360.io/098100b7-b9da-4bea-b4b9-017140ab863e/Images/Documentation/0_TakeInputParametersForScreenshotCapture.jpg) The output message in the Powershell console confirms that the screenshot was saved successfully. ![Script output displaing that the screenshot was saved ok.](https://cdn.document360.io/098100b7-b9da-4bea-b4b9-017140ab863e/Images/Documentation/2_SuccessfulSave.jpg) Opening the screenshot will provide you the state of the virtual machine at script runtime. ![Sample screenshot of a machine's login page.](https://cdn.document360.io/098100b7-b9da-4bea-b4b9-017140ab863e/Images/Documentation/3_ScreenshotSavedByScript.jpg)