It looks like you can use Powershell to configure a NAT adapter in Hyper-V:
Hyper-V Virtual Switch using NAT Configuration | Thomas Maurer