Showing posts with label create. Show all posts
Showing posts with label create. Show all posts

Wednesday, 26 April 2017

Create Linux VM Using Powershell in Azure

Create Linux VM Using Powershell in Azure


  • Azure is the leading Cloud Platform today.
  • Lot of Customers are having a Hybrid setup with Cloud.
  • So With power shell now so famous lot of companies have deployed Azure CLI 2.0 to extend thier powershell skill in Cloud.
  • In Order to Create a Linux VM in cloud using powershell and CLI2.0 installed on you system use this command

az vm create -n LINUX01 -g LinuxGroup --image UbuntuLTS

  • This will create the Linux Machine called "LINUX01" with Ubuntu OS

Monday, 5 September 2016

What is Azure resource group and how to create it PowerShell

What is Azure resource group and how to create it PowerShell

What is Resource group:

  • Before deploying any resources to your subscription, you must create a resource group that will contain the resources.

Create a resource group:

  • To create a resource group, use the New-AzureRmResourceGroup cmdlet.

New-AzureRmResourceGroup -Name CognosApp -Location "West US"

  • Uses the Name parameter to specify a name for the resource group and the Location parameter to specify its location.

Wednesday, 16 September 2015

How to Create Custom Event ID monitoring using SCOM 2012 R2 - Step by Step

How to Create Custom Event ID monitoring using SCOM


  • Many Times we get request to create new Event ID monitors which are not default available.Today we will create those Event  ID monitors to Monitor Custom Event ID.
  • First Install the System Center Operations Manager 2007 R2 Authoring Console.This is the Tool that will help you create Custom Monitoring and very effective tool for developing Managements pack
Step by Step:


  • Once you Install the Tool open it and click on the Icon Below and select New Management Pack and give a name
















    • Then Click on "Health Model Tab" and right hand side click New-->Alerting-->Windows Event
    • This will Open the Windows Event ID Custom Monitoring Pane


    • Now give it a Name "Event ID 7040 Monitoring"




    • Then Click on Target and Select "Browse All Classes"
    • Now Check "List" and Search for "Windows Computers" and Select it
    • In Category select "Alerts" and Click Next
    • Now in The Log Name Give a Event Log where the event is logged. In our Case we Select "System". Then click Next





    • Now Enter the "Event ID" and "Event Source" and Click Next





    • Give the Alert the Name you want and click Finish





    • Now Save the MP in Top and Import it in your Environment to Monitor this Event ID


    Saturday, 4 July 2015

    Create Virtual Network in your Azure - Step by Step

    Create Virtual Network in your Azure

    • Before you Create your Virtual Server , you need to create your virtual network in your Azure platform. or else you cant assign static IP to your Server.
    • Login to your Azure portal and click on Networks
    • Click on "Create a Virtual Network"

    • Now enter your Virtual Network Name and enter the Location
    • Next  enter the DNS server Name and IP.

    • Select the Subnet and select the Range.

    • Click next and your Virtual Network is created.

    Step by Step instruction to Create a Windows 2012 R2 Server in Windows Azure

    Step by Step instruction to Create a Windows 2012 R2 Server in Windows Azure


    • Inorder to create a new Windows 2012 R2 server, login to your Azure portal and click on virtual machines Tab

    • Now Click on "Create A Virtual Machine"

    • Then Click Quick Create and select IMAGE which ever OS you want in this we will install "Windows Server 2012"  and Configuration you want. Also give the admin Name and password of your VM and which region  you want your VM to be in and click "Create Virutl Machine"
    • This will start building your VM and it will be ready in few Minutes.


    • One its ready Click on Connect in the Bottom and it will prompt you to open RDP file of server.Download the RDP file to your desktop

    • Now Double click the RDP file and Click Connect. Enter the Username and Password  and you will get the RDP of the server.

    Sunday, 21 June 2015

    Powershell Command to create Folder

    Command to create Folder from Powershell


    • Powershell is very powerful tool.You can create a Folder from within Powershell using "MD" command
    Below command creates a folder called test4 from within Powershell.

    md "c:\test4"