diff --git a/Scripts/BulkConversion/bulk_convert.ps1 b/Scripts/BulkConversion/bulk_convert.ps1 index 748fbc6..f2e3936 100644 --- a/Scripts/BulkConversion/bulk_convert.ps1 +++ b/Scripts/BulkConversion/bulk_convert.ps1 @@ -49,7 +49,7 @@ function CreateMPTTemplate IF($virtualMachine -eq "" -or $null -eq $virtualMachine) { ## Verifies that the object is not null or empty - New-LogEntry -LogValue "Virtual machine object is null or empty. Please update with Virtual Machine Name and re-run script." -Severity 3 -writeHost $True -Component $LoggingComponent -Path $WorkingDirectory -Path $WorkingDirectory + New-LogEntry -LogValue "Virtual machine object is null or empty. Please update with Virtual Machine Name and re-run script." -Severity 3 -writeHost $True -Component $LoggingComponent -Path $WorkingDirectory Return } ELSEIF($virtualMachine.Name -eq "" -or $null -eq $virtualMachine.Name) @@ -844,7 +844,7 @@ Function Test-RMConnection $WSManResults = $True } ELSE { - New-LogEntry -LogValue "Remote Machine is not listed in the $($Env:COMPUTERNAME) list of trust hosts. Please include the Remote Machine as a member of the Trusted Hosts." -Severity 2 -WriteHost $True -Component $LoggingComponent -Path $WorkingDirectory -Path $WorkingDirectory + New-LogEntry -LogValue "Remote Machine is not listed in the $($Env:COMPUTERNAME) list of trust hosts. Please include the Remote Machine as a member of the Trusted Hosts." -Severity 2 -WriteHost $True -Component $LoggingComponent -Path $WorkingDirectory $WSManResults = $True }