This script can be used to check whether a user’s disk partitions contain the correct 4KB alignment. Over the next few years, data storage will transition from a physical format of hard disk drives that are in 512-byte sectors to 4,096-byte sectors (also known as 4K or 4KB sectors) hard disk drives. This change includes increases in storage density and reliability.  Many customers have to know whether their disk partitions have the non-4kb alignment issues which can cause incompatibility issues with existing software (including operating systems and applications).

We can use the Check4kAligned function to check whether user’s disk partitions contain the correct 4kb alignment.

image image

You can find more All-In-One Script Framework script samples at