다음을 통해 공유


Publish-AzureAutomationRunbook

Runbook을 게시합니다.

참고 항목

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

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

구문

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

Description

Important

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

Publish-AzureAutomationRunbook cmdlet은 Microsoft Azure Automation의 프로덕션 환경에서 사용할 Runbook을 게시합니다.

예제

예제 1: Runbook 게시

PS C:\> Publish-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "Runbk01"

이 명령은 Contoso17이라는 Automation 계정에 Runbk01이라는 Runbook을 게시합니다.

매개 변수

-AutomationAccountName

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