I seem to have messed somethign up with the autodiscover. I was going to rebuild the Autodiscover directory.
I ran Remove-AutodiscoverVirtualDirectory -Identity "sbsserver\autodiscover (Default Web Site)" and then manually removed the directory in IIS
It seemed to work. But now I cannot do NEW-autodiscovervirtualdirectory
The IIS virtual directory recreates but GET-Autodiscovervirtualdirectory does not display any results. For example:
although this was working before hand. we have had a number of issues with autoconfig not working and out of office not working.