Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Scripts/BulkConversion/bulk_convert.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
}

Expand Down