Freigeben über


Get-SCVirtualFloppyDisk

Gets virtual floppy disk objects from the VMM library.

Syntax

All (Default)

Get-SCVirtualFloppyDisk
    [-VMMServer <ServerConnection>]
    [-All]
    [<CommonParameters>]

NameParamSet

Get-SCVirtualFloppyDisk
    -Name <String>
    [-VMMServer <ServerConnection>]
    [<CommonParameters>]

EquivalentResourceParamSet

Get-SCVirtualFloppyDisk
    -FamilyName <String>
    [-VMMServer <ServerConnection>]
    [-Release <String>]
    [<CommonParameters>]

ID

Get-SCVirtualFloppyDisk
    [-VMMServer <ServerConnection>]
    [-ID <Guid>]
    [<CommonParameters>]

Description

The Get-SCVirtualFloppyDisk cmdlet gets one or more virtual floppy disk objects from the Virtual Machine Manager (VMM) library. The virtual floppy disk file (either a Windows-based .vfd file or a VMware-based .flp file) that a virtual floppy disk object represents is stored on a library server.

Examples

Example 1: Get all virtual floppy disks on all VMM library servers

PS C:\> Get-SCVirtualFloppyDisk -VMMServer "VMMServer01.Contoso.com"

This command gets all virtual floppy disk objects VMM library on VMMServer01 and then displays information about these virtual floppy disk objects to the user. The virtual floppy disk files themselves are stored in library shares on library servers.

Example 2: Get all virtual floppy disks on a specific VMM library server

PS C:\> Get-SCVirtualFloppyDisk -VMMServer "VMMServer01.Contoso.com" | where { $_.LibraryServer.Name -eq "LibraryServer01.Contoso.com" }

This command gets all virtual floppy disk objects stored on LibraryServer01 and displays information about these virtual floppy disk objects to the user.

Example 3: Get all virtual floppy disks with a specific name on any VMM library server

PS C:\> Get-SCVirtualFloppyDisk | where { $_.Name -eq "BootFloppy.vfd" }

This command gets all virtual floppy disk objects named BootFloppy.vfd that are stored on any library server managed by VMM, and then displays information about these virtual floppy disk objects to the user.

Note: By default, the name of a virtual floppy disk object in the library is the same name (including the extension) as the name of the actual virtual floppy disk file on the library server.

Parameters

-All

Indicates that this cmdlet gets all subordinate objects independent of the parent object. For example, the command Get-SCVirtualDiskDrive -All gets all virtual disk drive objects regardless of the virtual machine object or template object that each virtual disk drive object is associated with.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

All
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-FamilyName

Specifies a family name for a physical resource in the VMM library. This value is used in conjunction with Release, Namespace, and Type to establish equivalency among library resources.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

EquivalentResourceParamSet
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ID

Specifies the numerical identifier as a globally unique identifier, or GUID, for a specific object.

Parameter properties

Type:Guid
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ID
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Name

Specifies the name of a VMM object.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

NameParamSet
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Release

Specifies a string that describes the release of a library resource. VMM automatically creates a release value for every resource imported into the library. After the resource has been imported, the string can be customized.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

EquivalentResourceParamSet
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-VMMServer

Specifies a VMM server object.

Parameter properties

Type:ServerConnection
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

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

Outputs

VirtualFloppyDisk

This cmdlet returns a VirtualFloppyDisk object.