Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: New-NcAntivirusLogEntry


NAME
New-NcAntivirusLogEntry

SYNOPSIS
Create a new antivirus log entry.

SYNTAX
New-NcAntivirusLogEntry [-VendorId] <Int64> [-VendorString] <String> [-TimeS
tamp <DateTime>] [-Controller <NcController[]>] [-WhatIf] [-Confirm] [<Commo
nParameters>]


DESCRIPTION
Create a new antivirus log entry.


PARAMETERS
-VendorId <Int64>
Vendor ID.

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

-VendorString <String>
Vendor string.

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

-TimeStamp <DateTime>
When the event is logged. If not provided, the current DateTime is used
.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
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

-WhatIf


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

-Confirm


Required? false
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-set-log
Family: cluster

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

C:\PS>New-NcAntivirusLogEntry


Create a new antivirus log entry.


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
Get-NcAntivirusLog







 Data ONTAP® PowerShell Toolkit