Hello there,
This might be due to the WMI repository being corrupted, in that case, try the below steps.
Disable and stop the WMI service
sc config winmgmt start= disabled
net stop winmgmt
Run the following commands
Winmgmt /salvagerepository %windir%\System32\wbem
Winmgmt /resetrepository %windir%\System32\wbem
Re-enable the WMI service and reboot
sc config winmgmt start= auto
Verify that the version of Windows Server you are using (2023 DevKit ARM64) supports the Get-NetNat command. Sometimes, certain features or commands may not be available on specific editions or configurations of Windows Server.
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer–