다음을 통해 공유


Get-AzureAutomationCredential

Azure Automation 자격 증명을 가져옵니다.

참고

이 설명서에서 참조하는 cmdlet은 Service Management API를 사용하는 레거시 Azure 리소스를 관리하기 위한 것입니다. Azure Resource Manager 리소스를 관리하는 cmdlet은 Az PowerShell 모듈을 참조하세요.

Syntax

Get-AzureAutomationCredential
   -AutomationAccountName <String>
   [-Profile <AzureSMProfile>]
   [<CommonParameters>]
Get-AzureAutomationCredential
   -Name <String>
   -AutomationAccountName <String>
   [-Profile <AzureSMProfile>]
   [<CommonParameters>]

Description

중요

Azure Automation에 대한 이 PowerShell 명령은 2020년 1월 23일 현재 더 이상 지원됩니다. Azure 서비스 관리 모델은 Azure Automation에서 더 이상 사용되지 않으며 해당 날짜에 사용하지 않도록 설정되었습니다. Az.Automation에서 Azure Resource Management 모델을 지원하는 명령을 사용하세요.

Get-AzureAutomationCredential cmdlet은 하나 이상의 Microsoft Azure Automation 자격 증명을 가져옵니다. 기본적으로 모든 자격 증명이 반환됩니다. 특정 자격 증명을 얻으려면 해당 이름을 지정합니다.

예제

예제 1: 모든 자격 증명 가져오기

PS C:\> Get-AzureAutomationCredential -AutomationAccountName "Contoso17"

이 명령은 Contoso17이라는 Automation 계정의 모든 자격 증명을 가져옵니다.

예제 2: 자격 증명 가져오기

PS C:\> Get-AzureAutomationCredential -AutomationAccountName "Contoso17" -Name "MyCredential"

이 명령은 MyCredential이라는 자격 증명을 가져옵니다.

매개 변수

-AutomationAccountName

검색할 자격 증명을 사용하여 자동화 계정의 이름을 지정합니다.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Name

검색할 자격 증명의 이름을 지정합니다.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Profile

이 cmdlet이 읽는 Azure 프로필을 지정합니다. 프로필을 지정하지 않으면 이 cmdlet은 로컬 기본 프로필에서 읽습니다.

Type:AzureSMProfile
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

출력

CredentialInfo