< Back

Get-AzureRmOperationalInsightsSavedSearchResults

Thu Apr 04, 2019 5:39 am

NAME Get-AzureRmOperationalInsightsSavedSearchResults



SYNOPSIS

Returns the results from a query.





SYNTAX

Get-AzureRmOperationalInsightsSavedSearchResults [-ResourceGroupName] <String> [-WorkspaceName] <String> [-SavedSearchId] <String>

[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

The Get-AzureRmOperationalInsightsSavedSearchResults cmdlet returns the results from the query specified by the search ID.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of an Azure resource group that contains a workspace.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-SavedSearchId <String>

Specifies a saved search ID.



Required? true

Position? 2

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-WorkspaceName <String>

Specifies a workspace name.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Commands.OperationalInsights.Models.PSSearchGetSearchResultsResponse







NOTES









Example 1: Get all of the search results for a saved search



PS C:\\>Get-AzureRmOperationalInsightSavedSearchResults -ResourceGroupName "ContosoResourceGroup" -WorkspaceName "ContosoWorkspace" -SavedSearchId

"ContosoSavedSearchId"



This command gets all of the search results for a saved search.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... rchresults

Azure Operational Insights Cmdlets