Data ONTAP® PowerShell Toolkit

Switch to clustered Data ONTAP documentation.

Cmdlet: Set-NaToolkitConfiguration


NAME
Set-NaToolkitConfiguration

SYNOPSIS
Set the basic Data ONTAP PowerShell Toolkit configuration.

SYNTAX
Set-NaToolkitConfiguration [-LogLevel] <String> [[-Logger] <String>] [<Commo
nParameters>]


DESCRIPTION
Set the basic Data ONTAP PowerShell Toolkit configuration. Used to set the
debug level of the PowerShell Toolkit. The new debug level will take effect
after PowerShell is restarted.


PARAMETERS
-LogLevel <String>
The log level. Possible values: DEBUG, ERROR, WARN, OFF.

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

-Logger <String>
The logger to change. If not specified, all loggers will be changed.

Required? false
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
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.Types.Utils.ToolkitConfiguration


NOTES


Category: toolkit

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

C:\PS>Set-NaToolkitConfiguration -DebugLevel DEBUG


Set the debug level to DEBUG.


Log
---
{DataONTAP.PowerShell: DEBUG, DataONTAP.C.PowerShell: DEBUG, DataONTAP.HostU
tilities: DEBUG, NetApp.Ontapi: DEBUG}



RELATED LINKS
Get-NaToolkitConfiguration







 Data ONTAP® PowerShell Toolkit