With this command we are specifying the network interface, the IPv4/6 address you want to use, your subnet and the host address to create a new IP address.
New-NetIPAddress -InterfaceIndex 12 -IPAddress 192.168.0.1 -PrefixLength 24 -DefaultGateway 192.168.0.5
Reference:
https://docs.microsoft.com/en-us/powershell/module/nettcpip/new-netipaddress?view=win10-ps