Skip to content

Commit 1870c90

Browse files
Update New-AzOperationalInsightsWorkspace.md (#15804)
PS C:\>New-AzOperationalInsightsWorkspace -ResourceGroupName "ContosoResourceGroup" -Name "MyWorkspace" -Location "East US" -Sku "Standard" ## -Sku "Standard" is no more supporting. Please update the docs##
1 parent ca88134 commit 1870c90

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/OperationalInsights/OperationalInsights/help/New-AzOperationalInsightsWorkspace.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,18 @@ The **New-AzOperationalInsightsWorkspace** cmdlet creates a workspace in the spe
2727

2828
### Example 1: Create a workspace by name
2929
```
30-
PS C:\>New-AzOperationalInsightsWorkspace -ResourceGroupName "ContosoResourceGroup" -Name "MyWorkspace" -Location "East US" -Sku "Standard"
31-
```
30+
PS C:\>New-AzOperationalInsightsWorkspace -ResourceGroupName "ContosoResourceGroup" -Name "MyWorkspace" -Location "East US"
31+
3232
33+
34+
```
3335
This command creates a standard SKU workspace named MyWorkspace in the resource group named ContosoResourceGroup.
3436

3537
### Example 2: Create a workspace and link it to an existing account
3638
```
3739
PS C:\>$OILinkTargets = Get-AzOperationalInsightsLinkTargets
3840
39-
PS C:\>$OILinkTargets[0] | New-AzOperationalInsightsWorkspace -ResourceGroupName "ContosoResourceGroup" -Name "MyWorkspace" -Sku "Standard"
41+
PS C:\>$OILinkTargets[0] | New-AzOperationalInsightsWorkspace -ResourceGroupName "ContosoResourceGroup" -Name "MyWorkspace"
4042
```
4143

4244
The first command uses the Get-AzOperationalInsightsLinkTargets cmdlet to get Operational Insights account link targets, and then stores them in the $OILinkTargets variable.

0 commit comments

Comments
 (0)