Installing Active directory module in PowerShell 7

how to install active directory modules on powershell 7 verison ?

not straight forward if you are not on a latest windows version.

but you can always use windows compatibility module to achieve this.

Thank you.