Merge pull request #106 from whaakman/patch-1

Update tip149.md
This commit is contained in:
Michael Crump 2020-08-11 08:51:13 -07:00 коммит произвёл GitHub
Родитель 3b273001bf 2538d8eec8
Коммит 2b47953f38
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -19,7 +19,7 @@ You'll quickly learn that `Microsoft.Web/sites/slots/slotsswap/action` contains
We can wrap this up in a bow with the following line:
```powershell
$a = Get-AzureRmLog -ResourceGroupName <ResourceGroupName> | Where-Object { $_.operationname.value -contains "Microsoft.Web/sites/slots/slotsswap/action" -and $_.Status.Value -eq 'Succeeded'}
$a = Get-AzLog -ResourceGroupName <ResourceGroupName> | Where-Object { $_.operationname.value -contains "Microsoft.Web/sites/slots/slotsswap/action" -and $_.Status.Value -eq 'Succeeded'}
$a | select { $_.eventtimestamp,$_.operationname.value,$_.status.value,$_.resourceid.substring(50) }
```
@ -27,4 +27,4 @@ Now if you paste this in PowerShell, you should get the following:
<img :src="$withBase('/files/powershellslot1.png')">
As always, I hoped this help someone out there!
As always, I hoped this help someone out there!