|
2264 | 2264 | </maml:para>
|
2265 | 2265 | </maml:alert>
|
2266 | 2266 | </maml:alertSet>
|
2267 |
| -<command:examples><command:example><maml:title>1:</maml:title> |
2268 |
| -<dev:code></dev:code> |
2269 |
| -<dev:remarks><maml:para> |
2270 |
| -</maml:para> |
| 2267 | +<command:examples> |
| 2268 | +<command:example><maml:title>1: Get specific datasource</maml:title> |
| 2269 | +<dev:code>PS C:\>Get-AzureRmOperationalInsightsDataSource -ResourceGroupName "ContosoResourceGroup" -WorkspaceName "ContosoWorkspace" -Name "applicationLogCollection"</dev:code> |
| 2270 | +<dev:remarks><maml:para>this command get a datasource named applicationLogCollection in ContosoWorkspace</maml:para> |
| 2271 | +<maml:para></maml:para> |
| 2272 | +<maml:para></maml:para> |
| 2273 | +</dev:remarks> |
| 2274 | +</command:example> |
| 2275 | +<command:example><maml:title>2: List datasource for a given kind.</maml:title> |
| 2276 | +<dev:code>PS C:\>Get-AzureRmOperationalInsightsDataSource -ResourceGroupName "ContosoResourceGroup" -WorkspaceName "ContosoWorkspace" -Kind "WindowsEvent"</dev:code> |
| 2277 | +<dev:remarks><maml:para>this command get all WindowsEvent datasource in ContosoWorkspace</maml:para> |
2271 | 2278 | <maml:para></maml:para>
|
2272 | 2279 | <maml:para></maml:para>
|
2273 | 2280 | </dev:remarks>
|
|
2403 | 2410 | </maml:alert>
|
2404 | 2411 | </maml:alertSet>
|
2405 | 2412 | <command:examples><command:example><maml:title>Example 1: Get Intelligence Packs</maml:title>
|
2406 |
| -<dev:code>PS C:\>Get-AzureOperationalInsightsStorageInsight -ResourceGroupName "ContosoResourceGroup" -WorkspaceName "ContosoWorkspace"</dev:code> |
| 2413 | +<dev:code>PS C:\>Get-AzureRmOperationalInsightsStorageInsight -ResourceGroupName "ContosoResourceGroup" -WorkspaceName "ContosoWorkspace"</dev:code> |
2407 | 2414 | <dev:remarks><maml:para>This command gets the available Intelligence Packs.
|
2408 | 2415 | </maml:para>
|
2409 | 2416 | <maml:para></maml:para>
|
@@ -3768,7 +3775,7 @@ PS C:\>Get-AzureRmOperationalInsightsStorageInsight -Workspace $Workspace -Na
|
3768 | 3775 | </dev:remarks>
|
3769 | 3776 | </command:example>
|
3770 | 3777 | <command:example><maml:title>Example 2: Get management groups by using the pipeline</maml:title>
|
3771 |
| -<dev:code>PS C:\>Get-AzureRmOperationalInsightsWorkspace -ResourceGroupName "ContosoResourceGroup" -Name "MyWorkspace" | Get-AzureOperationalInsightsWorkspaceManagementGroups</dev:code> |
| 3778 | +<dev:code>PS C:\>Get-AzureRmOperationalInsightsWorkspace -ResourceGroupName "ContosoResourceGroup" -Name "MyWorkspace" | Get-AzureRmOperationalInsightsWorkspaceManagementGroups</dev:code> |
3772 | 3779 | <dev:remarks><maml:para>This command uses the Get-AzureRmOperationalInsightsWorkspace cmdlet to get the workspace named MyWorkspace, and then passes the workspace to the current cmdlet, which gets the management groups for that workspace.
|
3773 | 3780 | </maml:para>
|
3774 | 3781 | <maml:para></maml:para>
|
@@ -4060,7 +4067,7 @@ PS C:\>Get-AzureRmOperationalInsightsStorageInsight -Workspace $Workspace -Na
|
4060 | 4067 | </dev:remarks>
|
4061 | 4068 | </command:example>
|
4062 | 4069 | <command:example><maml:title>Example 2: Get usage data using the pipeline</maml:title>
|
4063 |
| -<dev:code>PS C:\>Get-AzureRmOperationalInsightsWorkspace -ResourceGroupName "ContosoResourceGroup" -Name "MyWorkspace" | Get-AzureOperationalInsightsWorkspaceUsage</dev:code> |
| 4070 | +<dev:code>PS C:\>Get-AzureRmOperationalInsightsWorkspace -ResourceGroupName "ContosoResourceGroup" -Name "MyWorkspace" | Get-AzureRmOperationalInsightsWorkspaceUsage</dev:code> |
4064 | 4071 | <dev:remarks><maml:para>This command gets the workspace named MyWorkSpace using the Get-AzureRmOperationalInsightsWorkspace cmdlet, and then passes the workspace to the current cmdlet. The command gets the usage details for that workspace.
|
4065 | 4072 | </maml:para>
|
4066 | 4073 | <maml:para></maml:para>
|
|
0 commit comments