Added shorthand alias for Search-Graylog (sg)
This commit is contained in:
parent
9f9078dbc8
commit
4608f33c4a
@ -31,7 +31,7 @@ function Search-Graylog {
|
||||
A identifier for various parts of the search job (SearchId, QueryId, FilterId) are generated and returned in a PSCustomObject, which can be used to retrieve the results of the search job.
|
||||
The SearchId, QueryId, and FilterId are used to retrieve the results of the search job using the Receive-GraylogJob function.
|
||||
#>
|
||||
[Alias("Search-Graylog")]
|
||||
[Alias("sg")]
|
||||
param (
|
||||
[Parameter(Mandatory)]
|
||||
[ValidateNotNullOrEmpty()]
|
||||
|
@ -69,7 +69,7 @@ RequiredModules = @("Microsoft.PowerShell.SecretManagement", "Microsoft.PowerShe
|
||||
NestedModules = @(
|
||||
"Functions\Public\Connect-GraylogService.ps1",
|
||||
"Functions\Public\Disconnect-GraylogService.ps1",
|
||||
"Functions\Public\Get-GraylogStreams.ps1",
|
||||
"Functions\Public\Get-GraylogStreams.ps1",
|
||||
"Functions\Public\Get-GraylogStreamId.ps1",
|
||||
"Functions\Public\Initialize-GraylogServiceVault.ps1",
|
||||
"Functions\Public\Invoke-GraylogRequest.ps1",
|
||||
@ -84,7 +84,7 @@ NestedModules = @(
|
||||
FunctionsToExport = @(
|
||||
"Connect-GraylogService",
|
||||
"Disconnect-GraylogService",
|
||||
"Get-GraylogStreams",
|
||||
"Get-GraylogStreams",
|
||||
"Get-GraylogStreamId",
|
||||
"Initialize-GraylogServiceVault",
|
||||
"Invoke-GraylogRequest",
|
||||
@ -102,7 +102,7 @@ CmdletsToExport = @()
|
||||
VariablesToExport = @()
|
||||
|
||||
# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
|
||||
AliasesToExport = @("igsr", "Connect-Graylog", "Disconnect-Graylog")
|
||||
AliasesToExport = @("Connect-Graylog", "Disconnect-Graylog", "igsr", "sg")
|
||||
|
||||
# DSC resources to export from this module
|
||||
# DscResourcesToExport = @()
|
||||
|
Loading…
Reference in New Issue
Block a user