< Back

Get-vRNIAuditLogs

Sat Jan 18, 2020 10:08 pm

NAME Get-vRNIAuditLogs



SYNOPSIS

Retrieve audit logs from Network Insight





SYNTAX

Get-vRNIAuditLogs [-Username <String>] [-Operation <String>] [-StartTime <Int32>] [-EndTime <Int32>] [-Connection

<PSObject>] [<CommonParameters>]





DESCRIPTION

Network Insight logs the actions that are being executed on its interface,

and this endpoint is a way to retrieve the audit log





PARAMETERS

-Username <String>

Filter on username



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Operation <String>

Filter on a specific operation (like LOGIN, UPDATE)



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-StartTime <Int32>

The epoch timestamp of when to start looking up records



Required? false

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-EndTime <Int32>

The epoch timestamp of when to stop looking up records



Required? false

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-Connection <PSObject>

vRNI Connection object



Required? false

Position? named

Default value $defaultvRNIConnection

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 (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



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



PS C:\\>Get-vRNIAuditLogs













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-vRNIAuditLogs -Username "admin@local"













-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Get-vRNIAuditLogs -Operation "LOGIN"















RELATED LINKS