How to Login to your Azure from PowerShell
- To login to your Azure account, use the Add-AzureRmAccount cmdlet.
Add-AzureRmAccount
- The cmdlet prompts you for the login credentials for your Azure account.
- After logging in, it downloads your account settings so they are available to Azure PowerShell.
- The account settings expire, so you need to refresh them occasionally.
- To refresh the account settings, run Add-AzureRmAccount again.
Easy way to access your network cards and configure them -ncpa.cpl
- Opening the network card is a bit of challenge in the computer. It usually takes to network page from where you have to again click on another tab to go to your network card. I was always feeling if there is easy way to do it and the yes there is
- Click on Start --> in search box type "ncpa.cpl"
- This will directly open the Network card page.
- I hope it makes your life easier like mine :)
Dont install the latest Window OS Management pack -Serious Issues can screw up your monitoring
- Recently released Microsoft OS MP has some serious issues.
- There is total broken up and the Disk Monitoring is totally mess up.
- People around the world are complaining about it.
- I cant imagine when the product has so much investment each time when the OS MP comes it causes lot of issue.
- I dont know when Microsoft is going to stick to the standard and release a quality OS MP without any issue.
- Latest verison of this MP is 6.0.7297.0 and it a total avoid :)
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.
How to Scope your Microsoft Operations Manager Suite Dasboard
- Dashoard is very useful place to see an overview of your enviornment.
- Sometimes you want to see how the error are are for last 1 hour or last 4 hours.
- For this can use the Scope feature in your Operations Manager Dashboard.
- Click on "My Dashboard" in MOM Suite.
- This will show data by defaukt for last 7 days.
- On Right hand Side Click on Scope and Change the Date and time that you want.
How to add new Solutions to your Microsoft Operations Manager Solutions Suite
- To add new Solutions to your Microsoft Operations Manager Solutions,do the following.
- Login to Your Microsoft Operations Manager Solutions
- Now Click on Solution Gallery Tab
- This will take you to Solutions Gallery where you see Different Solutions on Right Side.
- Now Click on the Solution You want in This we click on "Security and Audit"
- Now Click "Add" and your solution will be added to your dasboard.
SQL query to find out if your SCOM 2012 R2 Grooming jobs are succeeding:
- Grooming jobs are very important in SCOM.
- If grooming fails then your old data is not removed as per your grooming settings.
- This will cause your database to fillup and also cause slowness.
- You need to regularly monitor the Grooming jobs are will face a outage.
- Unfortunately, SCOM only raise alert if the grooming fails for atleast 6 days.
- So by this time depending on your environment there could be lot of issues and grooming could never be completd
- So i came up with SQL query which you can use to daily check after 6:00 AM server time
- "SELECT * FROM INTERNAJOBHISTORY ORDER BY INTERALJOBHISTORYID DESC"
- Run the above query and check if the grooming jobs succeeds. You should do this daily to avoid our OperationsManager Database gets filled.
How improve performance of your Server by 40 % with this simple tweak
- Many people see slugish performance of there server ,especially if your server is SQL server and its hosted on Windows 2008 R2.
- The reason is very simple and buy doing this small change it will give you 60 % better performance of your system
- The reason is because of Power settings. In Windows 2008 R2 the Power settings is set as "balanced". What this does it to save power it reduces power consumption to the server
- This wont be visible if you run and check some simple query.
- But as you server runs lot o transactions, you can see poor performance and complaint from your customers.
- Inorder to fix it change the Power settings to " High Performance"
- This will improve the PC perforamance by 40 %.
- This tweeks applies to all Windows Servers versions, but it is more siver in Windows 2008 R2
How to Check if Powershell is installed on your Computer?
- To check if Powershell is installed on your Computer
- Go to C: Drive and Click on "Windows" Folder
- Now click on Sytem32 folder then Click on "WindowsPowerShell" Folder
- Now depending on the Version of Powershell installed You will se it as v1.0 or v2.0 or v3.0. This tell you what version of Powershell is installed.
- Now in our case is v1.0. Click on v1.0 folder.
- You will see a "Powershell.exe". This confirms that Powershell is installed on your system.