Skip to content

Commit fa3279f

Browse files
authored
Fix ShouldProcess message
1 parent ab55327 commit fa3279f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ResourceManager/Compute.ManagedService/Commands.Compute.ManagedService/Tools/ConvertTo-AzureRmVhd.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ function ExecuteCmdlet($HyperVVMName, $ExportPath, $HyperVServer, $Force)
142142
}
143143
}
144144

145-
if ($PSCmdlet.ShouldProcess($Name, "Converting a Hyper-V VM to Azure supported VHD file(s)..."))
145+
if ($PSCmdlet.ShouldProcess($HyperVVMName, "Converting a Hyper-V VM to Azure supported VHD file(s)..."))
146146
{
147147
$vhdFiles = Export-DiskFiles $HyperVServer $HyperVVMName $ExportPath;
148148

0 commit comments

Comments
 (0)