From f30f75e2d8bc2c92de862109b89a897a894a083c Mon Sep 17 00:00:00 2001 From: Jonah Bader <57271372+JonahBader@users.noreply.github.com> Date: Tue, 3 Jun 2025 09:45:22 -0500 Subject: [PATCH] Removed Duplicate Parameter --- Scripts/BulkConversion/bulk_convert.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }