PowerShell

How to find “Stopped” windows Services, whose start up mode is set to “Automatic” using PowerShell.

Hi, I called these services as “Problematic services”. The start-up mode of these services are “Automatically” so that whenever windows starts or reboot these services should start automatically. So logically if any of windows services start mode is set to “Automatic” then the Window Service should be running not “stopped”we are using WMI query language… Continue reading How to find “Stopped” windows Services, whose start up mode is set to “Automatic” using PowerShell.

SCOM

SCOM : How to resolve “The SMTP Local Retry Queue Total is outside calculated baseline” error in SCOM.

Hi As the notification is clearly saying that there is some error in our exchange server’s Local retry Queue. But what is the exactly happening.? Let explore it little bit. Error ::: Right Clink on the Error, Click on Open and Choose “Health Explorer”Now Click on “SMTP Local Retry Queue – Queue [Exchange Queue] ,… Continue reading SCOM : How to resolve “The SMTP Local Retry Queue Total is outside calculated baseline” error in SCOM.

PowerShell

Turning SIDs into Real Names using PowerShell

  PowerTip of the Day, from PowerShell.com: Sometimes, you’d like to turn security identifiers (SIDs) into real names. Here is a function that can do this for you: 1: function SID2Name($sid){ 2:  3: $objSID = New-Object System.Security.Principal.SecurityIdentifier($sid) 4:  5: try { 6:  7: $objUser = $objSID.Translate( [System.Security.Principal.NTAccount]) 8:  9: $objUser.Value 10:  11: } catch {… Continue reading Turning SIDs into Real Names using PowerShell