Skip to content

Commit e92cb5e

Browse files
authored
update
1 parent 4d07dc6 commit e92cb5e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

support/azure/automation/runbooks/powershell-job-script-cmdlets-not-working.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,15 @@ ms.custom: sap:Runbook not working as expected
88
---
99
# Troubleshoot runbook execution issues when using PowerShell in Azure Automation
1010

11-
This article provides guidance for diagnosing and resolving runbook execution issues that occur when executing PowerShell scripts or cmdlets in Azure Automation.
11+
This article provides guidance for diagnosing and resolving runbook execution issues that occur when using PowerShell scripts or cmdlets in Azure Automation.
1212

1313
> [!NOTE]
1414
> Azure Automation enables recovery of runbooks deleted in last 29 days. You can restore a deleted runbook by running a PowerShell script as a job in your Automation account. For more information, see [Restore deleted runbook](/azure/automation/manage-runbooks#restore-deleted-runbook).
1515
16-
## PowerShell runbooks
16+
## Limitations and known issues with PowerShell runbooks
1717

1818
PowerShell runbooks are built on Windows PowerShell. You can edit their code directly by using the text editor in the Azure portal. You can also use an offline text editor and then [import the runbooks](/azure/automation/manage-runbooks) into Azure Automation. The PowerShell version is determined by the **Runtime version** specified.
1919

20-
## Limitations and known issues with PowerShell runbooks
21-
2220
**Limitations:**
2321

2422
- For the PowerShell 7 runtime version, the module activities aren't extracted for the imported modules.
@@ -44,8 +42,6 @@ PowerShell runbooks are built on Windows PowerShell. You can edit their code dir
4442

4543
To resolve this issue, make sure that you explicitly upload the `PowerShellGet` and `PackageManagement` modules.
4644

47-
For more information, see [Limitations and Known issues](/azure/automation/automation-runbook-types#powershell-workflow-runbooks).
48-
4945
## Before troubleshooting
5046

5147
Follow these steps to identify and resolve common errors before further troubleshooting:

0 commit comments

Comments
 (0)