Version 1.1
This commit is contained in:
@@ -569,44 +569,6 @@ function Copy-VeeamSetupLogs {
|
||||
|
||||
}
|
||||
#Beginn PART 4
|
||||
############################################################
|
||||
# Write-ExceptionLog
|
||||
############################################################
|
||||
|
||||
function Write-ExceptionLog {
|
||||
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Schreibt eine Exception vollständig ins Log.
|
||||
#>
|
||||
|
||||
param(
|
||||
|
||||
[Parameter(Mandatory)]
|
||||
[System.Exception]$Exception
|
||||
|
||||
)
|
||||
|
||||
$Message = @"
|
||||
|
||||
Exception:
|
||||
-----------
|
||||
Message : $($Exception.Message)
|
||||
|
||||
Type :
|
||||
$($Exception.GetType().FullName)
|
||||
|
||||
StackTrace :
|
||||
$($Exception.StackTrace)
|
||||
|
||||
"@
|
||||
|
||||
Write-EnterpriseLog `
|
||||
-Message $Message `
|
||||
-Level ERROR
|
||||
|
||||
}
|
||||
|
||||
############################################################
|
||||
# Write-ProgressLog
|
||||
############################################################
|
||||
@@ -614,7 +576,7 @@ Write-EnterpriseLog `
|
||||
function Write-ProgressLog {
|
||||
|
||||
<#
|
||||
.SYNOPSIS
|
||||
.SYNOPSS
|
||||
Schreibt Fortschritt einer Aktion.
|
||||
#>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user