Come and Check our BETA Alpha version of Powershellcenter.net
Send me your comment to Powershell@powershellcenter.com

Synopsis

Adds a hard disk drive to a virtual machine.

Syntax

Add-VMHardDiskDrive [-VMName] <String[]> [[-ControllerType] <ControllerType>] [[-ControllerNumber] <Int32>] [[-ControllerLocation] <Int32>] [[-Path] <String>] [-AllowUnverifiedPaths] [-ComputerName <String[]>] [-DiskNumber <UInt32>] [-MaximumIOPS <UInt64>] [-MinimumIOPS <UInt64>] [-Passthru] [-ResourcePoolName <String>] [-SupportPersistentReservations] [-Confirm] [-WhatIf] [<CommonParameters>]

Add-VMHardDiskDrive [-VMDriveController] <VMDriveController> [[-ControllerLocation] <Int32>] [[-Path] <String>] [-AllowUnverifiedPaths] [-ComputerName <String[]>] [-DiskNumber <UInt32>] [-MaximumIOPS <UInt64>] [-MinimumIOPS <UInt64>] [-Passthru] [-ResourcePoolName <String>] [-SupportPersistentReservations] [-Confirm] [-WhatIf] [<CommonParameters>]

Add-VMHardDiskDrive [-VM] <VirtualMachine[]> [[-ControllerType] <ControllerType>] [[-ControllerNumber] <Int32>] [[-ControllerLocation] <Int32>] [[-Path] <String>] [-AllowUnverifiedPaths] [-ComputerName <String[]>] [-DiskNumber <UInt32>] [-MaximumIOPS <UInt64>] [-MinimumIOPS <UInt64>] [-Passthru] [-ResourcePoolName <String>] [-SupportPersistentReservations] [-Confirm] [-WhatIf] [<CommonParameters>]

Detailed Description

The Add-VMHardDiskDrive cmdlet adds a hard disk drive to a virtual machine.

Parameters

-ComputerName [<String[]>]

Specifies one or more virtual machine hosts on which the hard disk drive is to be added. NetBIOS names, IP addresses, and fully-qualified domain names are allowable. The default is the local computer

Synopsis

Adds a virtual Fibre Channel host bus adapter to a virtual machine.

Syntax

Add-VMFibreChannelHba [-VMName] <String> [-SanName] <String> [-ComputerName <String[]>] [-GenerateWwn] [-Passthru] [-Confirm] [-WhatIf] [<CommonParameters>]

Add-VMFibreChannelHba [-VMName] <String> [-SanName] <String> [-ComputerName <String[]>] [-Passthru] -WorldWideNodeNameSetA <String> -WorldWideNodeNameSetB <String> -WorldWidePortNameSetA <String> -WorldWidePortNameSetB <String> [-Confirm] [-WhatIf] [<CommonParameters>]

Add-VMFibreChannelHba [-VM] <VirtualMachine[]> [-SanName] <String> [-GenerateWwn] [-Passthru] [-Confirm] [-WhatIf] [<CommonParameters>]

Add-VMFibreChannelHba [-VM] <VirtualMachine[]> [-SanName] <String> [-Passthru] -WorldWideNodeNameSetA <String> -WorldWideNodeNameSetB <String> -WorldWidePortNameSetA <String> -WorldWidePortNameSetB <String> [-Confirm] [-WhatIf] [<CommonParameters>]

Detailed Description

The Add-VMFibreChannelHba cmdlet adds a virtual Fibre Channel host bus adapter to a virtual machine.

Parameters

-ComputerName [<String[]>]

Specifies one or more Hyper-V hosts on which a virtual Fibre Channel host bus adapter is to be added. NetBIOS names, IP addresses, and fully-qualified domain names are allowable. The default is the local computer

Synopsis

Adds a DVD drive to a virtual machine.

Syntax

Add-VMDvdDrive [-VMName] <String[]> [[-ControllerNumber] <Int32>] [[-ControllerLocation] <Int32>] [[-Path] <String>] [-AllowUnverifiedPaths] [-ComputerName <String[]>] [-Passthru] [-ResourcePoolName <String>] [-Confirm] [-WhatIf] [<CommonParameters>]

Add-VMDvdDrive [-VM] <VirtualMachine[]> [[-ControllerNumber] <Int32>] [[-ControllerLocation] <Int32>] [[-Path] <String>] [-AllowUnverifiedPaths] [-Passthru] [-ResourcePoolName <String>] [-Confirm] [-WhatIf] [<CommonParameters>]

Add-VMDvdDrive [-VMDriveController] <VMDriveController[]> [[-ControllerLocation] <Int32>] [[-Path] <String>] [-AllowUnverifiedPaths] [-Passthru] [-ResourcePoolName <String>] [-Confirm] [-WhatIf] [<CommonParameters>]

Detailed Description

The Add-VMDvdDrive cmdlet adds a DVD drive to a virtual machine.

Parameters

-ComputerName [<String[]>]

Specifies one or more Hyper-v hosts on which the DVD drive is to be added. NetBIOS names, IP addresses, and fully-qualified domain names are allowable. The default is the local computer