diff --git a/Functions/Public/Search-Graylog.ps1 b/Functions/Public/Search-Graylog.ps1 index 0e91642..3796b18 100644 --- a/Functions/Public/Search-Graylog.ps1 +++ b/Functions/Public/Search-Graylog.ps1 @@ -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()] diff --git a/PSGraylog.psd1 b/PSGraylog.psd1 index c9c0e29..9e4cdc5 100644 --- a/PSGraylog.psd1 +++ b/PSGraylog.psd1 @@ -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 = @()