Коммит
2b47953f38
|
@ -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!
|
||||
|
|
Загрузка…
Ссылка в новой задаче