Probably not of much concern as PS6 is cross platform, and the module is decidedly not. Would still be good to be able to load it in PS6 if so desired.
Things that are known to not work in PS6:
Compare-FilePath
Compare-File
Get-MyFileHash
Anything that uses wmiobject calls.