Connect PowerShell to Exchange Online $UserCredential = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
Category: PowerShell
Copy AZURE VHD to other storage account
#Source storage account $context1 = new-azurestoragecontext -storageaccountname “name_source_account” -storageaccountkey “key_source_account” #Destination storage account $context2 = new-azurestoragecontext -storageaccountname “name_destination_account” -storageaccountkey “key_destination_account”
Track Azure VHD copy process
$context = new-azurestoragecontext -storageaccountname “name_destination_account” -storageaccountkey “key_destination_account” Get-AzureStorageBlobCopyState -Blob “file_name.vhd” -Container “vhds” -Context $con Source: http://devslice.net/2013/10/moving-a-windows-azure-virtual-machine-to-a-different-data-center/ Pantelis ApostolidisPantelis Apostolidis is
Connect powershell to Azure
First we need to install the Azure PowerShell module from http://go.microsoft.com/fwlink/p/?linkid=320376&clcid=0x409 Then open PowerShell and run: Add-AzureAccount Pantelis ApostolidisPantelis Apostolidis is