Troubleshooting AD replication – The target principal name is incorrect

I had an issue today. Few of domain controllers stopped replicating. The Situation was like this:OneDCNotReplicating

Replication From DC2 to DC1 was working. But when I tried to replicate it from DC1 to DC2 the replication failed with error: “The target principal name is incorrect” Continue reading

Advertisements
Posted in Active Directory, Troubleshooting, Uncategorized, Windows Server | Leave a comment

Send NPS Logs from a REST API client to OMS Log Analytics

So…
the topic is how to send NPS Logs to OMS. There are many options on how to do it. TooManyOptions

I decided to do it in a following way.

1.) Grab data from NPS log file with powershell
2.) Convert each entry into PowerShell Object
3.) Filter data which might be useful
4.) Change PowerShell Objects into JSON format
5.) Send data to OMS

And the outcome Are NPS logs In OMS Log Analytics. We can see that Bart has a few Access Denied requests. I wonder what he’s up to now 🙂OMSnps01

Continue reading

Posted in Azure, Log Analytics, Log Search API, OMS, Operations Management Suite, Uncategorized | Leave a comment

Solving Multiple 4001 and 4201 Error events in Operations Manager Log

Problem:
In Operations Manager log I observed multiple 4001 and 4201 Error and Warning Log Entries with reason: Invalid class Continue reading

Posted in Uncategorized | 4 Comments

Agent Average Send Queue Size with a Blue Bar State Widget

I found this great article by Wei H Lim which displays the health state, patch level and average Send Queue size of each agent. By this we can quickly visualize which agents are collecting a lot of monitoring data. Here is a sample of a widget:weihlimagentaveragequeuesize

C U Soon
Jure

Posted in Dashboards, Management Pack, Operations Manager | Tagged , , , | Leave a comment

Using PowerShell ISE snippets to connect to SCOM

As you probably know PowerShell ISE snippets are great. If you do not know you can check this post.

Since I am connecting to SCOM through PowerShell a lot and I am lazy, I created a snippet so I do not have to type it each and every time.

The process goes as follows:
1. Open PowerShell ISE
2. Hit Ctrl+J
3. Browse for previously created snippetctrljselectsnippet
5. Code is prepopulatedpopulatedscomconnectionsnippet01
4. Run it with F5

And we are ready to rock roll:

If you find this idea useful, here is a code you have to paste and run it in PowerShell ISE to create a snippet (just modify credentials and OpsMgr Server name):

$NameOfSnippet = "ScomConnection"
$Description = "Connection to SCOM"

$Snippet = @'
$Creds = Get-Credential CONTOSO\homer.simpson
$MsName = "ScomServer01"

New-SCOMManagementGroupConnection -ComputerName $MsName -Credential $Creds
'@

New-IseSnippet -Title $NameOfSnippet -Description $Description   -Text $Snippet

Till next time
Jure

Posted in Operations Manager, PowerShell | Tagged , , , , , | Leave a comment

Gas, Diesel or Hybrid – To Cloud or not to Cloud?

That was question I have been asked quite often lately. The question is should we run our resources in Cloud (on Gas)? Is better way to run it OnPrem (Diesel)? Years ago when I was visiting Seattle I saw a lot of Hybrid cars on the streets. Maybe this is the way to go?

Answering these questions can be complex, but I found this great whitepaper written by Daniel Örneling which addresses the issue and forced me to think from different perspective. Continue reading

Posted in Uncategorized | Leave a comment

Windows Server Operating System Management Pack Extension Update – v1.2.5.6

In the end of the last year I updated my Custom Operating System Management pack. I added few things to it 😉

Tasks:
Custom Logged in Users => Returns Logged users on Computer
Custom Log Out User => Log Out User from Computer

Rules:
Unexpected shutdown => Collects Server Unexpected Shutdown
Pending reboot => Collects Servers which are in pending reboot state

Custom PS Remote task was Deprecated since it was included in Microsoft OS MP.

Updated MP can be downloaded from here.

Here are few details.. Continue reading

Posted in Management Pack, Operations Manager, Troubleshooting | Tagged , , , , , , , , | 1 Comment