Enumerate Current forest, domain, functional level, dc name
$ADClass = [System.DirectoryServices.ActiveDirectory.Domain]
$ADClass::GetCurrentDomain()
Use microsoft AD module and dll in case if powershell has constrained language mode enabled.
Find shares on hosts in current domain (Needs defense bypass modification)
Invoke-ShareFinder -Verbose
Find sensative files on computers in the domain (Needs defense bypass modification)
Invoke-FileFinder -Verbose
Find all file servers of the domain (Needs defense bypass modification)