Skip to content

Commit 5afef85

Browse files
authored
Merge pull request #13603 from justinincarnato/patch-16
Update azure-stack-monitor-update.md
2 parents f3a5e70 + 9d90395 commit 5afef85

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

articles/azure-stack/azure-stack-monitor-update.md

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ The following new PowerShell cmdlets for update management are included in the 1
2828
| Cmdlet | Description |
2929
|---------|---------|
3030
| `Get-AzureStackUpdateStatus` | Returns the status of the currently running, completed, or failed update. Provides the high-level status of the update operation, and an XML document that describes both the current step and the corresponding state. |
31-
| `Get-AzureStackUpdateVerboseLog` | Returns the verbose logs that are generated by the update. |
3231
| `Resume-AzureStackUpdate` | Resumes a failed update at the point where it failed. In certain scenarios, you may have to complete mitigation steps before you resume the update. |
3332
| | |
3433

@@ -74,7 +73,6 @@ You can also determine whether the cmdlets are available programmatically by qu
7473
CommandType Name Version Source PSComputerName
7574
----------- ---- ------- ------ --------------
7675
Function Get-AzureStackUpdateStatus 0.0 Microsoft.Azurestack.UpdateManagement Contoso-ercs01
77-
Function Get-AzureStackUpdateVerboseLog 0.0 Microsoft.Azurestack.UpdateManagement Contoso-ercs01
7876
Function Resume-AzureStackUpdate 0.0 Microsoft.Azurestack.UpdateManagement Contoso-ercs01
7977
```
8078

@@ -156,29 +154,6 @@ $updateStatus.SelectNodes("//Step[@Status='InProgress']")
156154
Task : Task
157155
```
158156

159-
### Get the verbose progress log
160-
161-
You can write the log to a file for examination. This can help you diagnose an update failure.
162-
163-
```powershell
164-
$log = Invoke-Command -Session $pepSession -ScriptBlock { Get-AzureStackUpdateVerboseLog }
165-
166-
$log > ".\UpdateVerboseLog.txt"
167-
```
168-
169-
### Actively view the verbose logging
170-
171-
To actively view the verbose log during an update run, and jump to the most recent entries, run the following commands to enter the session in interactive mode, and to show the log:
172-
173-
```powershell
174-
Enter-PSSession -Session $pepSession
175-
176-
Get-AzureStackUpdateVerboseLog -Wait
177-
```
178-
The log updates every 60 seconds, and new content (if available) is written to the console.
179-
180-
During long-running background processes, the console output may not be written to the console for some time. To cancel the interactive output, press Ctrl+C.
181-
182157
### Resume a failed update operation
183158

184159
If the update fails, you can resume the update run where it left off.

0 commit comments

Comments
 (0)