RSS

Monthly Archives: April 2015

How to turn on/off AX VM through Powershell

First, you need to install Azure PowerShell

Go to the Azure Downloads page and click the link to install the Azure PowerShell cmdlets.

clip_image001

Step 1: Get-AzureVM to find out all your VMs hosted on Azure. In my case i have one VM for AX2012 which was deployed through LCS

image

Make sure to copy ServiceName and Name

image

Step 2: How to start

image

Syntax: Start-AzureVM -ServiceName “AX2012R3-Demo-Demo-da16992830bbf75a” -Name “DEMO-41e1aa3f1f”

Refresh Azure Portal > VM > Status , you will see eventually the status will become “Running”

image

image

Step 3: How to stop

image

Syntax: Stop-AzureVM -ServiceName “AX2012R3-Demo-Demo-da16992830bbf75a” -Name “DEMO-41e1aa3f1f” -Force

image

Bonus:

How to get RDP file

image

Syntax: Get-AzureRemoteDesktopFile -ServiceName “AX2012R3-Demo-Demo-da16992830bbf75a” -Name “DEMO-41e1aa3f1f” -LocalPath “c:\temp\AzureAX.rdp”

image

How to launch RDP from command line directly

image

Syntax: Get-AzureRemoteDesktopFile -ServiceName $serviceName -Name $vmName –Launch

A session will pop up and prompt to connect to the VM
image

How to delete a virtual machine

image

Syntax: Remove-AzureVM -ServiceName “AX2012R3-Demo-Demo-da16992830bbf75a” -Name “DEMO-41e1aa3f1f” –DeleteVHD

image

Advertisements
 
Leave a comment

Posted by on April 27, 2015 in Development

 

Tags: , , , , ,

Azure PowerShell 101

Before you go to the Cloud , let’s learn from Guang Yang about how to manage Azure from the PowerShell command line!

image

 
Leave a comment

Posted by on April 27, 2015 in Development

 

Tags: , , ,

How to improve AX VM performance in Hyper V

Sharepoint Search Service

Since this is VM not a real world production. We don’t really need Search crawler run all the time from the last time we turn off the machine. Nothing has changed since we turn off the machine last time. We should disable this Search crawler.

image

Step 1:
Go to Sharepoint 2013 Central Administrator

image

Step 2
Central Administration > Application Management > Service Applications > Manage services on server

image

Step 3:
Click “Stop”

clip_image005

You will see a message pop up.

clip_image006

Look for “Contoso Search Service”, delete the child, then parent.

clip_image008

image

clip_image010

SQL

Most consultants are equipped with a laptop and limited memory. Limit SQL server memory to 4096 if you can.

clip_image012

 
1 Comment

Posted by on April 21, 2015 in Development

 

Fundamentals of Application Lifecycle Management

We have heard Application Lifecycle Management (ALM) a lot.  What does it mean and how can we apply this in our daily life? How do you develop your software. Let’s educate ourself about this best practice and let’s hope we can apply this in AX development world.

Summary

Would you like to see how a productive, effective, and successful (real-world!) software development team works, from code to customer? Watch Northwest Cadence experts Steven Borg and James Tupper as they focus on getting to production faster, creating quality software, and understanding the big picture, in this in-depth, demo-rich, and end-to-end look at application lifecycle management (ALM), including prioritization, commitment, implementation, deployment, testing, and (finally) release.

Find out how to deliver high-quality code in fast delivery cycles, get continuous feedback from customers to guide future features, learn the language you need to “have the helpful conversation” with management, and make design and process decisions so that last test validation becomes a mere formality. From DevOps and continuous delivery, to quality and project management (both general reporting and day-to-day prioritization), with process artifacts made by Team Foundation Server and Visual Studio Online, this course is jam-packed with practical details and tips you can take back to your team right away.

image

 
Leave a comment

Posted by on April 21, 2015 in Development

 

Tags: , , ,

 
%d bloggers like this: