New-VFD

New-VFD

Creates a virtual floppy disk.

Syntax

Parameter Set: Default
New-VFD [-Path] <String[]> [-ComputerName <String[]> ] [ <CommonParameters>]

Detailed Description

The New-VFD cmdlet creates a new virtual floppy disk.

Parameters

-ComputerName<String[]>

Specifies one or more virtual machine hosts on which the virtual floppy disk is to be created. NetBIOS names, IP addresses, and fully-qualified domain names are allowable. The default is the local computer — use “localhost” or a dot (“.”) to specify the local computer explicitly.

Aliases

none

Required?

false

Position?

named

Default Value

.

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Path<String[]>

Specifies the path to the new virtual floppy disk files to be created.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • System.IO.FileInfo

Examples

Example 1

Creates a new virtual floppy drive at the specified path. This can be then used in the Set-VMFloppyDiskDrive cmdlet to attach the virtual floppy disk to a virtual machine.

PS C:\> New-VFD “c:\floppy.vfd”