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

Synopsis

Configures the COM port of a virtual machine.

Syntax

Set-VMComPort [-VMName] <String[]> [-Number] <Int32> [-Path] <String> [-ComputerName <String[]>] [-Passthru] [-Confirm] [-WhatIf] [<CommonParameters>]

Set-VMComPort [-VM] <VirtualMachine[]> [-Path] <String> [-Passthru] -Number <Int32> [-Confirm] [-WhatIf] [<CommonParameters>]

Set-VMComPort [-VMComPort] <VMComPort[]> [-Path] <String> [-Passthru] [-Confirm] [-WhatIf] [<CommonParameters>]

Detailed Description

The Set-VMComPort cmdlet configures the COM port of a virtual machine.

Parameters

-ComputerName [<String[]>]

Specifies one or more Hyper-V hosts on which the COM port of a virtual machine is to be configured. NetBIOS names, IP addresses, and fully-qualified domain names are allowable. The default is the local computer

Synopsis

Configures a virtual machine.

Syntax

Set-VM [-Name] <String[]> [-AllowUnverifiedPaths] [-AutomaticStartAction <StartAction>] [-AutomaticStartDelay <Int32>] [-AutomaticStopAction <StopAction>] [-ComputerName <String[]>] [-DynamicMemory] [-MemoryMaximumBytes <Int64>] [-MemoryMinimumBytes <Int64>] [-MemoryStartupBytes <Int64>] [-NewVMName <String>] [-Notes <String>] [-Passthru] [-ProcessorCount <Int64>] [-SmartPagingFilePath <String>] [-SnapshotFileLocation <String>] [-StaticMemory] [-Confirm] [-WhatIf] [<CommonParameters>]

Set-VM [-VM] <VirtualMachine[]> [-AllowUnverifiedPaths] [-AutomaticStartAction <StartAction>] [-AutomaticStartDelay <Int32>] [-AutomaticStopAction <StopAction>] [-DynamicMemory] [-MemoryMaximumBytes <Int64>] [-MemoryMinimumBytes <Int64>] [-MemoryStartupBytes <Int64>] [-NewVMName <String>] [-Notes <String>] [-Passthru] [-ProcessorCount <Int64>] [-SmartPagingFilePath <String>] [-SnapshotFileLocation <String>] [-StaticMemory] [-Confirm] [-WhatIf] [<CommonParameters>]

Detailed Description

The Set-VM cmdlet configures a virtual machine.

Parameters

-AutomaticStartAction [<StartAction>]

Specifies the action the virtual machine is to take upon start. Allowed values are Nothing, StartIfRunning, and Start.

Required?   false
Position?   named
Default value?  
Accept pipeline input?   false
Accept wildcard characters?   false

-AutomaticStartDelay [<Int32>]

Specifies the number of seconds by which the virtual machine

Synopsis

Saves a virtual machine.

Syntax

Save-VM [-Name] <String[]> [-AsJob] [-ComputerName <String[]>] [<CommonParameters>]

Save-VM [-VM] <VirtualMachine[]> [-AsJob] [<CommonParameters>]

Detailed Description

The Save-VM cmdlet saves a virtual machine. This is similar to hibernating a physical machine.

Parameters

-AsJob [<SwitchParameter>]

Specifies that the cmdlet is to be run as a background job.

Required?   false
Position?   named
Default value?  
Accept pipeline input?   false
Accept wildcard characters?   false

-ComputerName [<String[]>]

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

Synopsis

Configures the BIOS of a Generation 1 virtual machine.

Syntax

Set-VMBios [-VMName] <String[]> [-ComputerName <String[]>] [-DisableNumLock] [-EnableNumLock] [-Passthru] [-StartupOrder {CD | IDE | LegacyNetworkAdapter | Floppy}] [-Confirm] [-WhatIf] [<CommonParameters>]

Set-VMBios [-VM] <VirtualMachine[]> [-DisableNumLock] [-EnableNumLock] [-Passthru] [-StartupOrder {CD | IDE | LegacyNetworkAdapter | Floppy}] [-Confirm] [-WhatIf] [<CommonParameters>]

Set-VMBios [-VMBios] <VMBios[]> [-DisableNumLock] [-EnableNumLock] [-Passthru] [-StartupOrder {CD | IDE | LegacyNetworkAdapter | Floppy}] [-Confirm] [-WhatIf] [<CommonParameters>]

Detailed Description

The Set-VMBios cmdlet configures the BIOS of a Generation 1 virtual machine. Note: This cmdlet does not operate with Generation 2 virtual machine. If attempted, the cmdlet throws an error.

Parameters

-ComputerName [<String[]>]

Specifies one or more Hyper-V hosts for which the BIOS is to be configured. NetBIOS names, IP addresses, and fully-qualified domain names are allowable. The default is the local computer

Synopsis

Set properties associated with a virtual hard disk.

Syntax

Set-VHD [-Path] <String> [-ParentPath] <String> [-ComputerName <String[]>] [-IgnoreIdMismatch] [-LeafPath <String>] [-Passthru] [-Confirm] [-WhatIf] [<CommonParameters>]

Set-VHD [-Path] <String> [-ComputerName <String[]>] [-Force] [-Passthru] -ResetDiskIdentifier [-Confirm] [-WhatIf] [<CommonParameters>]

Set-VHD [-Path] <String> [-ComputerName <String[]>] [-Passthru] -PhysicalSectorSizeBytes <UInt32> [-Confirm] [-WhatIf] [<CommonParameters>]

Detailed Description

The Set-VHD cmdlet sets the ParentPath or PhysicalSectorSizeBytes properties of a virtual hard disk. The two properties must be set in separate operations.

Parameters

-ComputerName [<String[]>]

Specifies one or more Hyper-V hosts on which the parent of a virtual hard disk in a differencing hard disk chain is to be set. NetBIOS names, IP addresses, and fully-qualified domain names are allowable. The default is the local computer