Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

PLEASE HELP: Creating a New Mail Contact without a default email address being assigned

$
0
0
I am currently in the process of creating a site that will automate a lot of the processes that we do here where I work and in the middle of creating something that would be a proof a concept for our people here to say ok that looks like a viable idea I have ran into something that is extremely frustrating and I have not found one discussion that even touches my issue. I just want to know how to create one contact in Active Directory without a default domain SMTP email address being assigned to it. I have seen the whole "change the -EmailAddressPolicy to the $false Boolean" for Set-Mailcontact but that does not solve the problem. I want to keep it from ever even creating it in the first place. Also, if you say "Well why don't you go in there and modify your script to remove the address afterwards with -EmailAddresses @{Remove=*@whatever.co}" I have already thought of that and even ran the script from the prompt to see what it would do and it does nothing it just says "Warning: The command completed successfully but no settings of 'Test Contact' have been modified." If I can figure out how to create just one contact without this hiccup It will be smooth sailing. Any help would be appreciated thank you.

Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>