Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Set-NcAntivirusEngine


NAME
Set-NcAntivirusEngine

SYNOPSIS
This sets the attributes of the antivirus engine installed.

SYNTAX
Set-NcAntivirusEngine [-LicenseKey <String>] [-Vendor <String>] [-ProductInf
o <String>] [-LicenseType <String>] [-LicenseExpiration <DateTime>] [-Seats
<Int32>] [-UpdateUrl <String>] [-DesiredActivationCode <String>] [-CurrentAc
tivationCode <String>] [-Controller <NcController[]>] [-WhatIf] [-Confirm] [
<CommonParameters>]

Set-NcAntivirusEngine [-Enable] [-LicenseKey <String>] [-Vendor <String>] [-
ProductInfo <String>] [-LicenseType <String>] [-LicenseExpiration <DateTime>
] [-Seats <Int32>] [-UpdateUrl <String>] [-DesiredActivationCode <String>] [
-CurrentActivationCode <String>] [-Controller <NcController[]>] [-WhatIf] [-
Confirm] [<CommonParameters>]

Set-NcAntivirusEngine [-Disable] [-LicenseKey <String>] [-Vendor <String>] [
-ProductInfo <String>] [-LicenseType <String>] [-LicenseExpiration <DateTime
>] [-Seats <Int32>] [-UpdateUrl <String>] [-DesiredActivationCode <String>]
[-CurrentActivationCode <String>] [-Controller <NcController[]>] [-WhatIf] [
-Confirm] [<CommonParameters>]


DESCRIPTION
This sets the attributes of the antivirus engine installed.


PARAMETERS
-LicenseKey <String>
Vendor-specific license key for license management that is currently in
effect.

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

-Vendor <String>
Descriptive name of antivirus vendor.

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

-ProductInfo <String>
Detailed information of the antivirus product

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

-LicenseType <String>
Vendor-specific license type. Possible values: "full" - full license; "e
val" - evaluation license; "none" - no license

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

-LicenseExpiration <DateTime>
Expiration date of the license.

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

-Seats <Int32>
Number of nodes that can run an instance of the antivirus software.

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

-UpdateUrl <String>
HTTP/HTTPS url for downloading updates.

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

-DesiredActivationCode <String>
Vendor-specific desired activation code for license management.

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

-CurrentActivationCode <String>
Vendor-specific activation code for license management, that is currentl
y in effect.

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

-Enable
If specified, the antivirus engine will be enabled.

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

-Disable
If specified, the antivirus engine will be enabled.

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.AvEngineInfo


NOTES


Category: antivirus
API: av-set-engine-info
Family: cluster

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

C:\PS>Set-NcAntivirusEngine -LicenseType none


Set the antivirus engine to have the license type "none".


NcController : 10.61.172.155
IsEnabled : False
LicenseKey :
Vendor : mcafee
ProductInfo :
LicenseType : none
LicenseExpiration : 0
LicenseExpirationDT : 1/1/1970 12:00:00 AM
Seats : 0
UpdateUrl : http://update.nai.com/products/commonupdater



RELATED LINKS
Get-NcAntivirusEngine







 Data ONTAP® PowerShell Toolkit