After installing Active Directory and DNS role on VMware Workstation with domain "mylab.local". I used NAT switch on my VM and my IpV4 settings are
After installation my current network profile was showing as mylab.local
However after restarting my VM my network profile changes to private and Domain profile is not available to switch.
> Get-NetConnectionProfile
Name : Network
InterfaceAlias : Ethernet0
InterfaceIndex : 14
NetworkCategory : Private
IPv4Connectivity : Internet