Skip to content

Commit 65c21f9

Browse files
authored
Fix Az.MonitoringSolutions Syntax Errors (#17695)
1 parent c64bb56 commit 65c21f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MonitoringSolutions/help/Get-AzMonitorLogAnalyticsSolution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ This command gets a monitor log analytics solution by resource id.
6969

7070
### Example 3: Get a monitor log analytics solution by object
7171
```powershell
72-
$monitor = New-AzMonitorLogAnalyticsSolution -ResourceGroupName azureps-monitor -Name 'Containers(azureps-monitor)'
72+
$monitor = New-AzMonitorLogAnalyticsSolution -ResourceGroupName azureps-monitor -Type "Microsoft.OperationsManagement/solutions" -Location "West US 2" -WorkspaceResourceId workspaceResourceId
7373
Get-AzMonitorLogAnalyticsSolution -InputObject $monitor
7474
```
7575

0 commit comments

Comments
 (0)