I have a Computer Object in AD representing one of our servers running Hyper-V.
While building a script, I suddenly noticed this server was not showing up in my list.
The script uses a custom function that queries AD for Hyper-V Service Connection points, so we can easily add servers without having to change the script.
This is how i first noticed. I went into ADSI and confirmed there, that it was missing under the computer object.
I then went in to Powershell, and again, the service point was missing.
This has not impacted anything besides my script as far as I can see. I can still remotely manage hyper-v on that server etc.
Still, I would rather be on the safe side and fix this.
Is there any safe/Correct way to fixing this, without drastic actions like reinstalling hyper-V.
(I Would prefer not having to restart this server if possible, as this means I'll have to migrate some machines etc)