Update-NetworkControllerOnFailoverClusterLogging
Description
Updates one of the following logging parameters: LogLevel, LogTimeLimitInDays, and LogSizeLimitInMBs
on all devices.
Examples
Example 1
PS C:\> {{ Add example code here }}
{{ Add example description here }}
Parameters
-CertificateThumbprint
Specifies the digital public key X.509 certificate of a user account that has permission to perform
this action.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: 3
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Credential
A credential to access the Network Controller REST endpoint and the physical host.
Parameter properties
Type: PSCredential
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: 2
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-LogLevel
Specifies the level of the log. Acceptable values: 'Error', 'Warning', 'Informational', or 'Verbose'
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: 4
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-LogSizeLimitInMBs
Specifies the maximum log size, in MB, to store. Logs are stored in a circular fashion.
Parameter properties
Type: Int32
Default value: 0
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: 6
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-LogTimeLimitInDays
Specifies the duration, in days, that logs are stored.
Parameter properties
Type: Int32
Default value: 0
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: 5
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-RestName
The DNS name of the REST endpoint.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: 1
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .