I use the following command to change the IP address of a remote windows 7 machine:
Invoke-Command -ComputerName $RemoteMachine -Credential $Cred -ScriptBlock