Get-AzRemoteDesktopFile
Lekéri a .rdp fájlt.
Syntax
Get-AzRemoteDesktopFile
[-ResourceGroupName] <String>
[-Name] <String>
[-LocalPath] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzRemoteDesktopFile
[-ResourceGroupName] <String>
[-Name] <String>
[[-LocalPath] <String>]
[-Launch]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
A Get-AzRemoteDesktopFile parancsmag egy távoli asztali protokollfájlt (.rdp) kap.
Példák
1. példa: Távoli asztali fájl lekérése
Get-AzRemoteDesktopFile -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" -LocalPath "D:\RemoteDesktopFile07.rdp"
Ez a parancs lekéri a VirtualMachine07 nevű virtuális gép Távoli asztal fájlját. A parancs az eredményt a D:\RemoteDesktopFile07.rdp nevű fájlban tárolja.
Paraméterek
-DefaultProfile
Az Azure-ral való kommunikációhoz használt hitelesítő adatok, fiók, bérlő és előfizetés.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Launch
Azt jelzi, hogy ez a parancsmag elindítja a Remote Desktopot, miután lekérte az .rdp fájlt.
Type: | SwitchParameter |
Position: | 3 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-LocalPath
Megadja a helyi teljes elérési utat, ahol ez a parancsmag tárolja az .rdp fájlt.
Type: | String |
Position: | 2 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
Megadja a parancsmag által lekért rendelkezésre állási csoport nevét.
Type: | String |
Aliases: | ResourceName, VMName |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceGroupName
Egy erőforráscsoport nevét adja meg.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Bevitelek
Kimenetek
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: