Connecting To Your Azure VM After Deployment Via Powershell

  In a previous post I gave some steps to troubleshoot connecting to your Azure VM via Powershell. You can view it here Today I want to describe how you can make it nice and simple to connect via Powershell to your VM. There are a couple of steps to complete before being allowed to…

2

Troubleshooting Windows Azure – Not Able To Connect to Remote Powershell to VM

  I was working on an issue of trying to connect to powershell remote on an Azure VM. I get the following error “Connecting the remote Server XXXX failed with the following….” There is some things you need to have in place first before being able to connect so I hope this little guide provides…

7

Deleting VM In Azure PowerShell Script

So the final one for today a script to help you clean up after your messing and to help you keep the cost down. Again usual disclaimers apply and use it as a framework to make it better! Here you go!   function deleteVM($azurecloud,$vmname){    Write-Host "Deleting VM(s) please wait…."    if ($vmname -eq $null)    {        Get-AzureVM…

0

Deploying VM in Azure with Powershell Menu Script!

I am currently sitting on an azure course and I don't like using console I have to be honest. So I created this script to be able to deploy a VM in Azure. Basically you need to set 2 variables which are the workdir and the azuresettings workdir is just a temp working directory and…

1

Stop & Start Your VM’s on Azure with Powershell

This is a very simple script…. :)  Please use it as a framework for you to create something better to include input parameters if you want etc.. Script Below… just change the variables! function stopvm($azurecloud,$vmname) {     if ($vmname -eq $null)     {         Get-AzureVM -ServiceName $azurecloud |Foreach-object {Stop-AzureVM -ServiceName $_.ServiceName -Name $_.Name -Force}    …

2

Playing with Storage Spaces in a VM and want to Emulate Storage Tiers?

WARNING THIS IS NEVER TO BE USED IN PRODUCTION AND CARRIES NO SUPPORT FROM MICROSOFT WHAT SO EVER! With the upcoming release of Server 2012 R2 I am sure you are familiar of the new Storage Tiers that will become available! However if you are not so lucky you will not be able to see…

0

Windows Server 2012 – Get Binding Order For NICS in Powershell

I had a requirement the other day to retrieve the binding order for nics across several hosts in Windows Server 2012 but none of the scripts I found online worked! Here is the code I came up with and ran against 16 hosts .   Only real pre-req is the WINRM / Remote Powershell is…

2

Stay Current! :Detect Hyper-V 2012 Hotfixes if they are installed or not

After reading Cristians excellent blog here –> http://blogs.technet.com/b/cedward/archive/2013/05/24/validating-hyper-v-2012-and-failover-clustering-2012-hotfixes-and-updates-with-powershell.aspx I decided to try and write an addition on to his original script where it would parse the html table directory from the wiki page and just take the current patches!   so here is my attempt   <#    .SYNOPSIS Runs a Check on a remote…

0

Private Cloud – A Journey Part 1 (from a PFE point of view)

A few weeks back I was in Las Vegas! Attending the MMS 2013 Summit. After attending the keynote and given I have seen most of the demo’s before that weredisplayed during the session, I am still impressed by what you can do natively in the Microsofttechnology stack. On a more serious note, Microsoft are not…

0