vSphere PowerCLI Reference

Get-FloppyDrive

Synopsis

Retrieves the virtual floppy drives available on a vSphere server.

Syntax

Get-FloppyDrive [[-VM] <VirtualMachine[]>] [[-Template] <Template[]>] [[-Snapshot] <Snapshot[]>] [-Id <String[]>] [-Name <String[]>] [-Server <VIServer[]>] [<CommonParameters>]

Related Commands

Online version
New-FloppyDrive
Remove-FloppyDrive
Set-FloppyDrive

Detailed Description

Retrieves the virtual floppy drives available on a vSphere server. Returns a set of virtual floppy drives that belong to the virtual machines, templates, and snapshots specified by the VirtualMachine, Template, and Snapshot parameters. At least one of these parameters must be provided. To specify a server different from the default one, use the -Server parameter.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
VMVirtualMachine[]Specify the virtual machines from which you want to retrieve virtual floppy drives.falsetrue (ByValue)
TemplateTemplate[]Specify the templates from which you want to retrieve virtual CD drives.falsetrue (ByValue)
SnapshotSnapshot[]Specify the snapshots from which you want to retrieve virtual CD drives.falsetrue (ByValue)
IdString[]Specify the Ids of the floppy drives you want to retrieve.falsefalse
NameString[]Specify the names of the floppy drives you want to retrieve.falsefalse
ServerVIServer[]Specify the vSphere servers on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer.falsefalse

Return Type

FloppyDrive

Notes

Examples

-------------- Example 1 --------------

Get-FloppyDrive -VM VM

Retrieves the floppy drive of the virtual machine named VM.


Copyright © 1998 - 2011 VMware, Inc. All rights reserved.