powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Set-FloppyDrive



NAME
Set-FloppyDrive

SYNOPSIS
Changes the configuration of the specified virtual floppy drive.

SYNTAX
Set-FloppyDrive [-Floppy] [-FloppyImagePath ] [-HostDevice ] [-NoMedia] [-StartConn
ected []] [-Connected []] [-WhatIf] [-Confirm] []


DESCRIPTION
Changes the configuration of the specified virtual floppy drive. If a floppy image path is provided, the cmdlet set
s the floppy drive to point to the image. Also, the cmdlet updates the StartConnected and Connected properties. If
the value of the NoMedia parameter is $true, the cmdlet removes the floppy drive's media backing and disconnects it
. The FloppyImagePath, HostDevice, and NoMedia parameters cannot be used together. The Connected parameter can be
specified only if the corresponding virtual machine is powered on.


PARAMETERS
-Floppy
Specify the virtual floppy drive you want to configure.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false

-FloppyImagePath
Specify the datastore path to the floppy image file that backs the virtual floppy drive. Do not use this parame
ter together with the HostDevice and NoMedia parameters.

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

-HostDevice
Specify the path to the floppy drive on the host that backs this virtual floppy drive. Do not use this paramete
r together with the FloppyImagePath and NoMedia parameters.

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

-NoMedia
Indicate that the floppy drive is to have no media (similar to removing the floppy from a physical drive). Do n
ot use this parameter at the same time with the FloppyImagePath and HostDevice parameters.

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

-StartConnected []
If the value is $true, the virtual floppy drive starts connected when its associated virtual machine powers on.
If the value is $false, it starts disconnected.

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

-Connected []
If the value is $true, the virtual floppy drive is connected after its creation. If the value is $false, the fl
oppy drive is disconnected. This parameter can be specified only if the corresponding virtual machine is powere
d on.

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

-WhatIf
Indicate that the cmdlet is run only to display the changes that would be made and actually no objects are modi
fied.

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

-Confirm
If the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false,
the cmdlet runs without asking for user confirmation.

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


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
FloppyDrive


NOTES




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

C:\PS>Set-FloppyDrive -Floppy $floppy -StartConnected:$true


Sets a floppy to start connected.






RELATED LINKS
Online version: http://www.vmware.com/support/developer/PowerCLI/PowerCLI501/html/Set-FloppyDrive.html
Get-FloppyDrive
New-FloppyDrive
Remove-FloppyDrive