Skip to content

Commit e1fec4e

Browse files
committed
feedback incorporated
1 parent 6a51cde commit e1fec4e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/automation/automation-runbook-types.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,20 +69,20 @@ The following are the current limitations and known issues with PowerShell runbo
6969

7070
**Known issues**
7171

72-
* When you use *ExchangeOnlineManagement* module version: 3.0.0 or higher, you can experience errors. To resolve the issue, ensure that you explicitly upload *PowerShellGet* and *PackageManagement* modules.
73-
* When you use *New-item* cmdlet, jobs might be suspended. To resolve the issue, follow the mitigation steps:
74-
1. Consume the output of `new-item`cmdlet in a variable and **do not** write it to the output stream using the write-output.
72+
* When you use *ExchangeOnlineManagement* module version: 3.0.0 or higher, you may experience errors. To resolve the issue, ensure that you explicitly upload *PowerShellGet* and *PackageManagement* modules as well.
73+
* When you use `New-item` cmdlet, jobs might be suspended. To resolve the issue, follow the mitigation steps:
74+
1. Consume the output of `new-item` cmdlet in a variable and **do not** write it to the output stream using `write-output` command.
7575
- You can use debug or progress stream after you enable it from **Logging and Tracing** setting of the runbook.
7676
```powershell-interactive
7777
$item = New-Item -Path ".\message.txt" -Force -ErrorAction SilentlyContinue
7878
write-debug $item # or use write-progress $item
7979
```
80-
- Alternatively, you can check if the nonempty if required to do so in the script.
80+
- Alternatively, you can check if variable is nonempty if required to do so in the script.
8181
```powershell-interactive
8282
$item = New-Item -Path ".\message.txt" -Force -ErrorAction SilentlyContinue
8383
if($item) { write-output "File Created" }
8484
```
85-
1. You can upgrade your runbooks to PS7.1 or PS7.2 where the same runbook will work as expected.
85+
1. You can also upgrade your runbooks to PowerShell 7.1 or PowerShell 7.2 where the same runbook will work as expected.
8686
* PowerShell runbooks can't retrieve an unencrypted [variable asset](./shared-resources/variables.md) with a null value.
8787
* PowerShell runbooks can't retrieve a variable asset with `*~*` in the name.
8888
* A [Get-Process](/powershell/module/microsoft.powershell.management/get-process) operation in a loop in a PowerShell runbook can crash after about 80 iterations.
@@ -106,7 +106,7 @@ The following are the current limitations and known issues with PowerShell runbo
106106
107107
**Known issues**
108108
109-
- When you use *ExchangeOnlineManagement* module version: 3.0.0 or higher, you can experience job failures. We recommend that you use *ExchangeOnlineManagement* module version: 3.0.0 or less.
109+
- When you use *ExchangeOnlineManagement* module version: 3.0.0 or higher, you may experience job failures. We recommend that you use *ExchangeOnlineManagement* module version: 3.0.0 or lesser.
110110
- Executing child scripts using `.\child-runbook.ps1` isn't supported in this preview.
111111
**Workaround**: Use `Start-AutomationRunbook` (internal cmdlet) or `Start-AzAutomationRunbook` (from *Az.Automation* module) to start another runbook from parent runbook.
112112
- Runbook properties defining logging preference is not supported in PowerShell 7 runtime.
@@ -143,7 +143,7 @@ The following are the current limitations and known issues with PowerShell runbo
143143
144144
**Known issues**
145145
146-
- When you use *ExchangeOnlineManagement* module version: 3.0.0 or higher, you can experience errors. To resolve the issue, ensure that you explicitly upload *PowerShellGet* and *PackageManagement* modules.
146+
- When you use *ExchangeOnlineManagement* module version: 3.0.0 or higher, you can experience errors. To resolve the issue, ensure that you explicitly upload `PowerShellGet` and `PackageManagement` modules.
147147
- Executing child scripts using `.\child-runbook.ps1` is not supported in this preview.
148148
**Workaround**: Use `Start-AutomationRunbook` (internal cmdlet) or `Start-AzAutomationRunbook` (from *Az.Automation* module) to start another runbook from parent runbook.
149149
- Runbook properties defining logging preference is not supported in PowerShell 7 runtime.

0 commit comments

Comments
 (0)