< Back

Enable-HPESysInfoLog

Tue Jan 14, 2020 2:22 am

NAME Enable-HPESysInfoLog



SYNOPSIS

The Enable-HPESysInfoLog cmdlet enables HPESysInfoCmdlets logging for the current PowerShell session.





SYNTAX

Enable-HPESysInfoLog [<CommonParameters>]





DESCRIPTION

The Enable-HPESysInfoLog cmdlet enables HPESysInfoCmdlets logging for the current PowerShell session. By default,

logging is disabled. If logging is required, it must be enabled explicitly. Log files can be found in the "Logs"

directory in the cmdlet assembly file installation directory.





PARAMETERS

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None







OUTPUTS

System.String







EXAMPLE 1



Enable HPESysInfoCmdlets logging for the current PowerShell session.PS C:\\> Enable-HPESysInfoLog

LogFilePath

-----------

C:\\Program Files\\WindowsPowerShell\\Modules\\HPESysInfoCmdlets\\1.1.0.0\\Logs\\HPESysInfoCmdlets_2232018_141259598.log







RELATED LINKS

http://www.hpe.com/servers/powershell

Clear-HPESysInfoLog

Disable-HPESysInfoLog