Get HPOVAuditLogArchive - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Get-HPOVAuditLogArchive

Download appliance audit log.

SYNTAX

Get-HPOVAuditLogArchive [-Location] <String> [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed Description

Use this Cmdlet to download the on appliance audit log.

Parameters

-ApplianceConnection <Object>

One or more Appliance Connection Objects, Connection ID, or Connection Name. If omitted, all connected appliances will be processed.

Aliases Appliance
Required? true
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters?    False

-Location <String>

The full path to where the audit log will be saved to. If omitted, current directory location will be used.

Aliases save
Required? true
Position? named
Default value (get-location).Path
Accept pipeline input? false
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)

Input Types

None. You cannot pipe objects to this Cmdlet.

Return Values

The generated audit log File

Examples

 -------------------------- EXAMPLE 1 --------------------------

Get-HPOVAuditLogArchive c: emp

Save the Appliance audit log archive to C: emp

Related Links


Top

HPE OneView 4.00 Library

Get-HPOVAuditLogArchive

Download appliance audit log.

SYNTAX

Get-HPOVAuditLogArchive [-Location] <String> [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed Description

Use this Cmdlet to download the on appliance audit log.

Parameters

-ApplianceConnection <Object>

One or more Appliance Connection Objects, Connection ID, or Connection Name. If omitted, all connected appliances will be processed.

Aliases Appliance
Required? true
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters?    False

-Location <String>

The full path to where the audit log will be saved to. If omitted, current directory location will be used.

Aliases save
Required? true
Position? named
Default value (get-location).Path
Accept pipeline input? false
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)

Input Types

None. You cannot pipe objects to this Cmdlet.

Return Values

The generated audit log File

Examples

 -------------------------- EXAMPLE 1 --------------------------

Get-HPOVAuditLogArchive c:\temp

Save the Appliance audit log archive to C:\Temp

Related Links


Top
⚠️ **GitHub.com Fallback** ⚠️