![]() ![]() I don’t have an unhealthy disk on my system, so I made a slight modification to the first command so that it would retrieve a disk based on its number rather than on its health status. You can see how these commands work in Figure 2. Here is the command for doing so: $Name = $Disk.FriendlyName We will set it equal to the disk’s friendly name. Next, I recommend creating a second variable. The command for doing so is: Get-PhysicalDisk | Where-Object Incidentally, if you have a large number of disks installed in a server, you can easily filter the Get-PhysicalDisk cmdlet’s output so that only the unhealthy disks are shown. #Server 2012 run disk health windows(Not all that long ago, for instance, I had a disk that was clicking-a sure sign of an impending failure-but Windows continued to show the disk as being healthy.) However, even if Windows indicates that a disk is healthy, that is not a guarantee of the disk’s health. In my experience, if Windows identifies a physical disk as being unhealthy, it probably really is unhealthy. As the name implies, this column indicates whether each disk is healthy. When using the Get-PhysicalDisk cmdlet, I recommend paying attention first to the Health Status column. The only real difference is that Windows servers often have far more disks than desktop PCs. #Server 2012 run disk health PcI created the screen capture shown above on a PC running Windows 10, but the command works in exactly the same way when used on Windows Server. This is what it looks like when you use the Get-PhysicalDisk cmdlet. You can see what this looks like in Figure 1. The easiest way to do this is to open PowerShell and enter the Get-PhysicalDisk cmdlet. If you believe that a physical disk within your system is failing, the first step in the process is to see whether Windows has identified a problem. Fortunately, there is an easy way to use PowerShell to check disk health and track down unhealthy disks. While Windows might inform you that one of the disks attached to your server is unhealthy, it can be difficult to know for sure which physical disk to replace. Sometimes, however, this is easier said than done. When a hard disk falls into an unhealthy state, it is important to replace the disk before a full-blown failure can occur. It’s been said that there are two types of hard disks-those that have failed and those that are going to. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |