Add-LWVMVHDX

SYNOPSIS

Attach a VHDX file to a VM

SYNTAX

Add-LWVMVHDX [-VMName] <String> [-VhdxPath] <String> [<CommonParameters>]

DESCRIPTION

Attach a VHDX file to a VM

EXAMPLES

Example 1

PS C:\> Add-LWVMVHDX -VMName Client01 -VhdxPath D:\SomeFile.vhdx

Attaches SomeFile.vhdx to Client01

PARAMETERS

-VhdxPath

The VHDX path

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-VMName

The virtual machine

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Object

NOTES