다음을 통해 공유


Get-AzureAutomationRunbook

Runbook을 가져옵니다.

참고 항목

이 설명서에서 참조되는 cmdlet은 ASM(Azure Service Manager) API를 사용하는 레거시 Azure 리소스를 관리하기 위한 것입니다. 이 레거시 PowerShell 모듈은 ASM이 사용 중지될 예정이므로 새 리소스를 만들 때 권장되지 않습니다. 자세한 내용은 Azure Service Manager 사용 중지를 참조 하세요.

Az PowerShell 모듈은 PowerShell을 사용하여 ARM(Azure Resource Manager) 리소스를 관리하는 데 권장되는 PowerShell 모듈입니다.

구문

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

Description

Important

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

Get-AzureAutomationRunbook cmdlet은 하나 이상의 Microsoft Azure Automation Runbook을 가져옵니다. 기본적으로 모든 Runbook이 반환됩니다. 특정 Runbook을 가져오려면 해당 이름 또는 ID를 지정합니다. 특정 일정에 연결된 모든 Runbook을 얻으려면 일정 이름을 지정합니다.

예제

예제 1: 모든 Runbook 가져오기

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

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

매개 변수

-AutomationAccountName

Azure Automation 계정의 이름을 지정합니다.

형식:String
Position:Named
Default value:None
필수:True
파이프라인 입력 허용:True
와일드카드 문자 허용:False

-Name

Runbook의 이름을 지정합니다.

형식:String
별칭:RunbookName
Position:Named
Default value:None
필수:True
파이프라인 입력 허용:True
와일드카드 문자 허용:False

-Profile

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

형식:AzureSMProfile
Position:Named
Default value:None
필수:False
파이프라인 입력 허용:False
와일드카드 문자 허용:False

출력

Runbook