CmdID / PowerShell / Cmdlets / Set
Set-NetworkControllerDiagnostic
Changes diagnostic settings for the Network Controller. Windows Server PowerShell reference
From the Windows Server PowerShell reference 15 parameters Its page in the reference
Parameters
-CertificateThumbprintSpecifies the digital public key X.509 certificate of a user account that has permission to perform this action.-ComputerNameSpecifies the name of the Network Controller node on which this cmdlet operates.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CredentialSpecifies a user credential that has permission to perform this action.-DiagnosticLogLocationSpecifies a central remote location for the logs.-ForceForces the command to run without asking for user confirmation.-LogLevelSpecifies the level of the log.The acceptable values for this parameter are:-LogLocationCredentialSpecifies the credentials required to access the log location.-LogScopeSpecifies whether Network Controller collects cluster logs or collects all logs.-LogSizeLimitInMBsSpecifies the maximum log size, in MB, to store.-LogTimeLimitInDaysSpecifies the duration, in days, that logs are stored.-PassThruReturns an object representing the item with which you are working.-UseLocalLogLocationIndicates that this cmdlet collects all diagnostic logs locally on each node in the Network Controller cluster.-UseSslIndicates that the remote computer uses the Secure Sockets Layer (SSL) protocol to establish a connection to the Network Controller node.-WhatIf, -wiShows what would happen if the cmdlet runs.