Check the edition and the file system
EFS is not available on Home editions, and it needs NTFS. **Get-Volume** shows the file system, and the edition string decides whether the cipher commands will do anything.
Get-Volume -DriveLetter D | Select-Object DriveLetter,FileSystem,FileSystemType
(Get-ComputerInfo).WindowsProductName
Get-WindowsEdition -Online | Select-Object Edition