Skip to content

Commit 7019ddb

Browse files
authored
Merge pull request #5507 from huangpf/vhd2
Fix ConvertTo-AzureRmVhd's ShouldProcess function input
2 parents 0d7d958 + 5307b31 commit 7019ddb

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
@@ -158,7 +158,7 @@ function ExecuteCmdlet($HyperVVMName, $ExportPath, $HyperVServer, $Force)
158158
}
159159
}
160160

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

0 commit comments

Comments
 (0)