Get a Raspberry Pi and you've got a standalone mirrored NAS.
Last month I took a long train ride from Atlanta to Seattle over six days for my Amtrak Writer’s Residency. Each of the 24 writers chosen in 2014 from nearly 16,000 applicants, took solo trips of their choosing across the USA. We were granted a private…
$search = New-Object DirectoryServices.DirectorySearcher([ADSI]“”)
$search.filter = “(servicePrincipalName=*)”
$results = $search.Findall()
$dataset = @()
foreach($result in $results)
$userEntry = $result.GetDirectoryEntry()
$row = New-Object PSObject
$row | Add-Member -Name "Name" -MemberType NoteProperty -Value $($userEntry.name)
$row | Add-Member -Name "DN" -MemberType NoteProperty -Value $($userEntry.distinguishedName)
$i = 1
foreach($SPN in $userEntry.servicePrincipalName)
$row | Add-Member -Name "SPN$i" -MemberType NoteProperty -Value $SPN
$dataset += $row
$dataset | Group-Object "Name"| Out-GridView
By reducing the scope to one machine name (a DC as it as several SPNs) your script is working pretty fine (you can even get rid of the Group-Object part).
But when I try to extand the scope to any object having at least one SPN, the result is not relevant anymore.
The only way I found is not a clean one :
$dataset | Select-Object -Property Name,SPN1,SPN2,SPN3,SPN4,SPN5,SPN6,SPN7,SPN8,SPN9,SPN10,SPN11,SPN12,SPN13,SPN14,SPN15,SPN16,SPN17,SPN18,SPN19,SPN20 | Out-GridView
In my environment 20 spns is not enough to get alle the info.
DMP Downloader keeps crashing in ConfigMgr 1606 UR1 - msitproblog
About a week ago, I ran into an interesting issue, after applying the Update Rollup 1 to two of my 1606 Sites. After the successful Installa
Reading, Updating and Adding Custom or Built-in Office Document Properties
I really love PowerShell (though I regularly curse a lot when I'm debugging it). It's great for all those tasks where you don't want to do s
Henk's blog: Management Point Affinity in ConfigMgr 2012 R2 CU3
Sometimes there are multiple Management points installed for high availability or communication reasons. With Distribution points you set bo
Remove Built-in apps when creating a Windows 10 reference image
When creating your reference image for Windows 10, you might want to remove the Universal Apps for various reasons. The community have come
Synchronize User and Application settings to Azure AD with Enterprise St...
If you have been using your Microsoft Account to logon onto Windows, you’re likely familiar with the fact that you can synchronize user and
List of Prerequisite Checks for System Center Configuration Manager
Prerequisite check name. Severity. Applicability. Description. Administrator rights on central administration site. Error. Primary site. Ver
War Tard: The West v ISIS: Air strikes just mean endless war minus victory.
So there's a US led war party in the desert and every Euro country with an F-16 to spare is piling in to the fray just so they don't miss th
Policy refresh intervals for Devices managed by Microsoft Intune
Over the past weeks I've seen a lot of chatter around policy refresh intervals on Twitter and in various forums. In most of the cases, the r
Microsoft to Retire the Intune Portal, Merge it into Office 365
Microsoft is retiring the Intune portal and merging it with the Office 365 console.
Windows Imaging and Configuration Designer (ICD) – A new Microsoft deplo...
In this article, I’ll show you the new Windows Imaging and Configuration Designer (ICD) and how it can help with Windows 10 provisioning wit
ConfigMgr Prerequisites Tool – Version 1.4.0 has been released | System ...
It's almost been a year since I've updated my prerequisites installation tool for ConfigMgr 2012 R2. With this new version being released, I
Getting computer names from AD using Powershell - Svendsen Tech Powershe...
Often as a Windows system administrator, you will want to get a list of computer/host names from (an OU in) Active Directory. Here are a few