I need to export the services and their ‘run as’ users in a number of servers. This is how I did it. #Ebin Issac 6/3/2018 #This will read a list of servers from a text file, and extract the services which are not run by localsystem, and save into a csv file. Need to be […]
Month: March 2018
How to export group memberships of Active Directory users into CSV format..
So I started a new job recently, and I am working on a as-is migration. I needed to export the list of AD users and their group memberships into human readable format. So this is how I did it. $users = Get-ADUser -Filter * foreach ($user in $users) { $Groups = (Get-ADPrincipalGroupMembership -Identity $user.SamAccountName | […]