< Back
Enable-HPEOSPLog
Post
NAME Enable-HPEOSPLog
SYNOPSIS
The Enable-HPEOSPLog cmdlet enables the HPEOSProvisionCmdlets logging for the current PowerShell session.
SYNTAX
Enable-HPEOSPLog [<CommonParameters>]
DESCRIPTION
The Enable-HPEOSPLog cmdlet enables the HPEOSProvisionCmdlets logging for the current PowerShell session. The log
file will be created in HPEOSProvisionCmdlets installed location under logs folder. By default, logging is
disabled and must be enabled explicitly.
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.Management.Automation.PSObject[]
EXAMPLE 1
PS C:\\> Enable-HPEOSPLog
LogFilePath
-----------
C:\\Program Files\\WindowsPowerShell\\Modules\\HPEOSProvisionCmdlets\\Logs\\HPEOSProvisionCmdlets_1132017_41725754.log
This example enables HPEOSProvisionCmdlets logging for the current PowerShell session.
RELATED LINKS
http://www.hpe.com/servers/powershell
Clear-HPEOSPLog
Disable-HPEOSPLog
SYNOPSIS
The Enable-HPEOSPLog cmdlet enables the HPEOSProvisionCmdlets logging for the current PowerShell session.
SYNTAX
Enable-HPEOSPLog [<CommonParameters>]
DESCRIPTION
The Enable-HPEOSPLog cmdlet enables the HPEOSProvisionCmdlets logging for the current PowerShell session. The log
file will be created in HPEOSProvisionCmdlets installed location under logs folder. By default, logging is
disabled and must be enabled explicitly.
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.Management.Automation.PSObject[]
EXAMPLE 1
PS C:\\> Enable-HPEOSPLog
LogFilePath
-----------
C:\\Program Files\\WindowsPowerShell\\Modules\\HPEOSProvisionCmdlets\\Logs\\HPEOSProvisionCmdlets_1132017_41725754.log
This example enables HPEOSProvisionCmdlets logging for the current PowerShell session.
RELATED LINKS
http://www.hpe.com/servers/powershell
Clear-HPEOSPLog
Disable-HPEOSPLog