The Import-AzureVM cmdlet imports the previously saved state of a virtual machine from an xml file. This cmdlet is useful when you want to subsequently create a new virtual machine from the imported data.
Note: Using Export-AzureVM, followed by Remove-AzureVM and then Import-AzureVM to recreate a virtual machine can cause the recreated virtual machine to have a different IP address than the original.
Specifies the path to the file with the previously saved virtual machine state.
Accept Pipeline Input?
Accept Wildcard Characters?
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).
The input type is the type of the objects that you can pipe to the cmdlet.
The output type is the type of the objects that the cmdlet emits.
-------------- Example 1 --------------