When inside a computer, ensure you are familiar with ESD and take the necessary steps to help prevent it.
Today, hard drives have the controller built on them, usually a circuit board covering the bottom or on the back portion of the drive. In the laptop hard drive picture, the bottom of the drive has a circuit board, which contains the hard disk controller. Early hard disk controllers. With early hard drives, the hard disk controller was a. Q: 'Recently, I was using my Mac and suddenly the Mac's Raid controller stopped recognizing the hard drive. I don't know what happened that the Raid controller is not recognizing drives. I'm unable to get a clue about the issue. All I know is that all my data on the drive is useful and I'm currently working on the data. You need to jump into the disk controller setup during POST, it will tell you the keys to press (Control-G or something). Then verify that the controller can see the drives and verify the health of the RAID array virtual drive if you created one.
Hard drive not connected properly
Verify that the cables are connected correctly to the back of the hard drive. All hard drives have at least two cables connected to the back of the drive. Verify that the power cable and well as the data cable are connected.
NoteThe interface cable must also connect in the correct direction. For users who have IDE/EIDE hard drives, pin one (red or blue edge of the cable) points towards the power connection.
Next, verify that the interface cable connects to the interface card or motherboard.
NoteIf the cables are connected, consider disconnecting and then reconnecting the cables to ensure they are firmly connected.
Hard drive not configured properly
If a new IDE or EIDE device was connected to the computer, ensure that the jumpers are set properly.
Verify that the computer hard drive is detected and properly configured in your BIOS setup. If your BIOS supports 'Auto' (automatic configuration), we recommend using that setting.
If the hard drive is not detected by the BIOS, you may be experiencing one of the problems listed below.
A bad hard drive cable
If the recommendations above are attempted, and you are still encountering the same issue, the cable connecting the hard drive may be bad. Replace this cable with a known good cable.
Bad hard drive
If you continue to experience the same issues, the hard drive may be bad. We recommend the drive be replaced. If the computer or hard drive is still under warranty, we recommend you contact the computer manufacturer or hard drive manufacturer for additional recommendations or replacement.
Bad interface board or motherboard
Finally, if none of the recommendations above resolve your issue, the interface board the hard drive connects to or the motherboard is likely bad. We recommend these components be replaced or that the computer be serviced.
If the computer or the motherboard is still under warranty, it can likely be repaired or replaced. We strongly recommended you contact the hardware manufacturer for additional information.
Additional information
Gets the virtual hard disk drives attached to one or more virtual machines.
Syntax
Description
The Get-VMHardDiskDrive cmdlet gets the virtual hard disk drives attached to one or more virtual machines.
Examples
Example 1
Gets the virtual hard drives from virtual machine TestVM.
Example 2
Gets the virtual hard drives from IDE controller 1 of virtual machine TestVM.
Example 3
Gets the virtual hard drives from IDE controller 1 of virtual machine TestVM located on Hyper-V host Development.
Example 4
Gets the virtual hard drives from snapshot Before applying updates of virtual machine TestVM.
Parameters
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 or Get-CimSession cmdlet.The default is the current session on the local computer.
Type: | CimSession[] |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies one or more Hyper-V hosts from which the virtual hard disk drives are to be retrieved.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.
Type: | String[] |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the number of the location on the controller at which the virtual hard disk drives are to be retrieved.If not specified, the number of the first available location on the controller is used.
Type: | Int32 |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the number of the controller at which the virtual hard disk drives are to be retrieved.If not specified, the first controller on which the specified ControllerLocation is available is used.
Type: | Int32 |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the type of the controller from which the virtual hard disk drives are to be retrieved.Allowed values are Floppy, IDE, and SCSI.
Type: | ControllerType |
Accepted values: | IDE, SCSI |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies one or more user accounts that have permission to perform this action.The default is the current user.
Type: | PSCredential[] |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the virtual machine from which the virtual hard disk drives are to be retrieved.
Type: | VirtualMachine[] |
Position: | 0 |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Specifies the drive controller from which the virtual hard disk drives are to be retrieved.
Type: | VMDriveController[] |
Position: | 0 |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Specifies the name of the virtual machine from which the virtual hard disks drives are to be retrieved.
Type: | String[] |
Position: | 0 |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Specifies the snapshot from which the virtual hard disk drives are to be retrieved.
Type: | VMSnapshot |
Aliases: | VMCheckpoint |
Position: | 0 |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
Microsoft.HyperV.PowerShell.ControllerType
Microsoft.HyperV.PowerShell.VMSnapshot
Microsoft.HyperV.PowerShell.VMDriveController[]
Microsoft.HyperV.PowerShell.VirtualMachine[]
Outputs
Drivers Scm Hard Disk Controller Manual
Microsoft.HyperV.PowerShell.HardDiskDrive