Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Get-NcAntivirusLog


NAME
Get-NcAntivirusLog

SYNOPSIS
Get a list of antivirus objects.

SYNTAX
Get-NcAntivirusLog [[-VendorId] <Decimal][]>] [[-VendorString] <String[]>] [
-StartTime <DateTime>] [-EndTime <DateTime>] [-Attributes <AvEventInfo>] [-C
ontroller <NcController[]>] [<CommonParameters>]

Get-NcAntivirusLog -Template [-Controller <NcController[]>] [<CommonParamete
rs>]

Get-NcAntivirusLog -Query <AvEventInfo> [-Attributes <AvEventInfo>] [-Contro
ller <NcController[]>] [<CommonParameters>]


DESCRIPTION
Get a list of antivirus objects.


PARAMETERS
-VendorId <Decimal][]>
Vendor ID.

Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-VendorString <String[]>
Vendor string.

Required? false
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-StartTime <DateTime>
Only display log entries that occured after this time.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-EndTime <DateTime>
Only display log entries that occured before this time.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Attributes <AvEventInfo>
For improved scalability in large clusters, provide an AvEventInfo objec
t with various fields set to indicate which fields to return on all obje
cts. Undesired fields should remain set to null. Use "Get-NcAntivirusL
og -Template" to get the initially empty AvEventInfo object. If not spe
cified, all data is returned for each object.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-Template
Specify to get an empty AvEventInfo object for use with advanced queries
involving the Query attribute.

Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Query <AvEventInfo>
For advanced queries, provide a AvEventInfo object with various fields s
et to indicate which records to retrieve. Other fields should remain se
t to null. Use "Get-NcAntivirusLog -Template" to get the initially empt
y AvEventInfo object.

Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
DataONTAP.C.Types.Antivirus.AvEventInfo


NOTES


Category: antivirus
API: av-log-iter
Family: cluster

-------------- Example 1 --------------

C:\PS>Get-NcAntivirusLog


Get the antivirus log.


Datetime : 1338901857
DatetimeDT : 6/5/2012 1:10:57 PM
NcController : 10.61.172.155
VendorId : 1
VendorString : Testing...
DatetimeSpecified : True
VendorIdSpecified : True



RELATED LINKS
New-NcAntivirusLogEntry







 Data ONTAP® PowerShell Toolkit