Showing posts with label Specific. Show all posts
Showing posts with label Specific. Show all posts

Monday, 5 September 2016

Connect to Specific Azure Subscription using Powershell

Connect to Specific Azure Subscription using Powershell


  • Organizations have mutiple Subscriptions, One for DEV,One for ACC and One for PROD.
  • So there are times where you want to connect to particular Subscription.
  • You have to use the command Set-AzureRmContext with SubscriptionID followed by the unique Subscription ID for the Subscription

Set-AzureRmContext -SubscriptionID <YourSubscriptionId>

Tuesday, 12 April 2016

SCOM Management Server showing warning with Event ID 1825 - A security package specific error occurred

SCOM Management Server showing warning with "Event ID 1825 - A security package specific error occurred"


  • Today when i checked the SCOM management Server it was in Warning state.
  • When i open the health explorer i could see only "Failed to access event log" is selected and its in warning state with error in details "A security package specific error occurred".
  • When i tried to access the event log from the SCOM management server it failed with the same error.
  • so i decided to do a nslookup of the server and found that the reverse lookup is pointing to the alias of the server rather then the actual server name.
  • Once it was resolved things got health again.
  • So when you have this issue, its usually issue with the DNS entries which needs to be fixed

Tuesday, 1 September 2015

PowerShell Command to get Specific Alert in SCOM 2012 R2 and SCOM 2016

PowerShell Command to get Specific Alert in SCOM 2012 R2 and SCOM 2016


  • Powershell Command to get only Specific alert with Specific Name is something we are asked frequently
  • Use the Below Command to get it done
  • GET-SCOMAlert Where {$_.Name --eq "Alert You want to get"}