Cerebrata is now part of Red Gate Software
Azure Diagnostics Manager 2 | Cloud Storage Studio 2 | Azure Management Cmdlets
 
Home /Products /Download /Offers /FAQ's /Team /Blog /Contact Us

GETTING STARTED

Use the following steps below to get started with Azure Management Cmdlets.


1.

Ensure that you have .Net 4.0 installed. You can download .Net 4.0 run time from here:
http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=0a391abd-25c1-4fc0-919f-b21f31ab88b7


2.

Ensure that Windows PowerShell 2.0 is installed. If you're using Windows 7 operating system, then it is preinstalled.


3.

Ensure SQL Server 2008 R2 client utilities are installed.
Please make sure that SQL Server 2008 R2 client utilities are installed especially bcp.exe version 10.50.1600.1. bcp.exe utility is used to perform database backups.

4.

Ensure that PowerShell is configured to work against .Net 4.0.
Easiest way to accomplish this would be to take powershell.exe.config file from the application installation directory and copy it in either "C:\Windows\System32\WindowsPowerShell\v1.0" folder if you've installed 32 Bit version of the software or "C:\Windows\SysWOW64\WindowsPowerShell\v1.0" folder if you've installed 64 Bit version of the software. If you already have this file present in these folders, then please ensure that the following piece of code is present under <configuration></configuration> section of this file.

<startup useLegacyV2RuntimeActivationPolicy="true">
        <supportedRuntime version="v4.0"/>
        <supportedRuntime version="v2.0.50727"/>
</startup>

5.

Add snap-in for Azure Management Cmdlets.
Again the easiest way to do it is to take "Microsoft.PowerShell_profile.ps1" file from the application installation directory and copy it in "My Documents\WindowsPowerShell" folder if this file is not present. If this file is present then add the following line of code in that file:
Add-PSSnapin AzureManagementCmdletsSnapIn

6.

Browse through the samples.
You can find a comprehensive collection of PowerShell scripts (.ps1 files) under "Samples" folder in the installation directory. All you would need to change the values of certain parameters and you're good to go.



You can also go through readme.pdf file in the installation folder to go through the steps provided above in more details. This document also lists all the cmdlets available in this product. Also please read CmdletsOutputObjects.pdf document as well which contains information about the objects written to output for pipelining purposes.

If you're updating from version V2011.05.14.00, please ensure that you have read CmdletsOutputObjects.pdf document which contains information about the objects written to output for pipelining purposes. The new version may break your existing scripts.