Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyper v vfd update #3566

Merged
merged 4 commits into from
Jul 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 36 additions & 22 deletions docset/winserver2022-ps/hyper-v/New-VFD.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
description: Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
external help file: Microsoft.HyperV.PowerShell.Cmdlets.dll-Help.xml
Module Name: Hyper-V
ms.date: 12/20/2016
ms.date: 06/21/2023
online version: https://learn.microsoft.com/powershell/module/hyper-v/new-vfd?view=windowsserver2022-ps&wt.mc_id=ps-gethelp
schema: 2.0.0
title: New-VFD
Expand All @@ -21,29 +21,33 @@ New-VFD [-Path] <String[]> [-CimSession <CimSession[]>] [-ComputerName <String[]
```

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

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

## EXAMPLES

### Example 1
```
PS C:\> New-VFD "c:\floppy.vfd"

```powershell
New-VFD "C:\floppy.vfd"
michaeltlombardi marked this conversation as resolved.
Show resolved Hide resolved
michaeltlombardi marked this conversation as resolved.
Show resolved Hide resolved
```

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.
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.

## PARAMETERS

### -CimSession
Runs the cmdlet in a remote session or on a remote computer.
Enter a computer name or a session object, such as the output of a [New-CimSession](https://go.microsoft.com/fwlink/p/?LinkId=227967) or [Get-CimSession](https://go.microsoft.com/fwlink/p/?LinkId=227966) cmdlet.
The default is the current session on the local computer.

Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session
object, such as the output of a [New-CimSession](https://go.microsoft.com/fwlink/p/?LinkId=227967)
or [Get-CimSession](https://go.microsoft.com/fwlink/p/?LinkId=227966) cmdlet. The default is the
current session on the local computer.

```yaml
Type: CimSession[]
Parameter Sets: (All)
Aliases:
Aliases:

Required: False
Position: Named
Expand All @@ -53,15 +57,15 @@ Accept wildcard characters: False
```

### -ComputerName

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.
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.

```yaml
Type: String[]
Parameter Sets: (All)
Aliases:
Aliases:

Required: False
Position: Named
Expand All @@ -71,6 +75,7 @@ Accept wildcard characters: False
```

### -Confirm

Prompts you for confirmation before running the cmdlet.

```yaml
Expand All @@ -86,13 +91,14 @@ Accept wildcard characters: False
```

### -Credential
Specifies one or more user accounts that have permission to perform this action.
The default is the current user.

Specifies one or more user accounts that have permission to perform this action. The default is the
current user.

```yaml
Type: PSCredential[]
Parameter Sets: (All)
Aliases:
Aliases:

Required: False
Position: Named
Expand All @@ -102,12 +108,13 @@ Accept wildcard characters: False
```

### -Path

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

```yaml
Type: String[]
Parameter Sets: (All)
Aliases:
Aliases:

Required: True
Position: 0
Expand All @@ -117,8 +124,8 @@ Accept wildcard characters: False
```

### -WhatIf
Shows what would happen if the cmdlet runs.
The cmdlet is not run.

Shows what would happen if the cmdlet runs. The cmdlet isn't run.

```yaml
Type: SwitchParameter
Expand All @@ -127,16 +134,22 @@ Aliases: wi

Required: False
Position: Named
Default value: False
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

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

## INPUTS

### System.String[]

## OUTPUTS

### System.IO.FileInfo
Expand All @@ -145,3 +158,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## RELATED LINKS

[Set-VMFloppyDiskDrive](set-vmfloppydiskdrive.md)