Start a discussion

41 views
1 replies
Solved

Having problems with syntax in DHCP migration SBS2011 - Server 2019.

I am trying to type in the following command :

Set-DhcpServerDnsCredential -Credential $Credential –Computername "$env:computername.$env:userdnsdomain"

and do not know what to type in for the "$env:computername.$env:userdnsdomain".

 

I have had problems throughout with this not identifed in sufficient detail. If my new DC is octree-dc and domain octree.co.uk what should be entered above?

tony richardson tony richardson
Published 08/23/2021 19:53
Add Comment
Mariette Knap

There is no need to change anything. This $env:computername.$env:userdnsdomain" pulls info from your system

replied 08/24/2021 19:29
Last Activity 08/24/2021 19:29