Import module Active Directory

I tried to setup a new Powershell Project but I cannot build to exe because it keeps throwing error invalid syntax Import-Module ActiveDirectory. So the Powershell Pro Tool can’t even do import module ? this is so frustrating