Get-HubArchivedLog

Syntax

__AllParameterSets

Get-HubArchivedLog -Date <datetime> [-OutputPath <string>] [-HubContext <HubContext>]
 [<CommonParameters>]

Parameters

-Date

The date for which to retrieve logs (e.g., '2024-07-23').

Type: System.DateTime
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-HubContext

Hub context

Type: Devolutions.Hub.PowerShell.Entities.HubContext
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-OutputPath

The output file or directory path. If a directory is specified or no extension is provided, a default file name 'HubArchivedLog_{Date:yyyy-MM-dd}.json' will be used.

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Notes

For more information, type "Get-Help Get-HubArchivedLog -detailed". For technical information, type "Get-Help Get-HubArchivedLog -full".

Devolutions Forum logo Give us Feedback