Skip to content

Commit fffa17a

Browse files
committed
added 2 PS examples
1 parent de54564 commit fffa17a

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

src/OperationalInsights/docs/exports/Get-AzOperationalInsightsWorkspace.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,23 @@ Gets a workspace instance.
4343

4444
### -------------------------- EXAMPLE 1 --------------------------
4545
```powershell
46-
{{ Add code here }}
47-
```
46+
Get-AzOperationalInsightsWorkspace -name {WS_Name} -ResourceGroupName {RG_Name}
4847
49-
{{ Add output here }}
48+
Location Name ETag
49+
-------- ---- ----
50+
eastus WS_Name
51+
```
5052

5153
### -------------------------- EXAMPLE 2 --------------------------
5254
```powershell
53-
{{ Add code here }}
54-
```
55+
Get-AzOperationalInsightsWorkspace -ResourceGroupName {RG_Name}
5556
56-
{{ Add output here }}
57+
Location Name ETag
58+
-------- ---- ----
59+
eastus WS_Name1
60+
eastus WS_Name2
61+
eastus WS_Name3
62+
```
5763

5864
## PARAMETERS
5965

0 commit comments

Comments
 (0)