Powershell – Get members of AD Group

Sometimes you will need a fast and easy way to list who is a member of a AD group.  Start Powershell and enter either of the following commands: Get-ADGroupMember -Identity “TestGroup” | Select samAccountName,Name,@{Name=”DisplayName”;Expression={(Get-ADUser $_.distinguishedName -Properties displayname).Displayname}},@{Name=”Title”;Expression={(Get-ADUser $_.distinguishedName -Properties Title).title}} Get-ADGroupMember -Identity “TestGroup” | Select samAccountName,Name Get-ADGroupMember -Identity “TestGroup” | Select samAccountName Sometimes you will …

Continue reading ‘Powershell – Get members of AD Group’ »

Windows 10 – Select Primary network interface

When running Windows 10, sometimes you have more than one network connection, and you want to select which NIC is the primary. In my case, I wanted to segment my network away from the network in house. I am connected wireless to house router, including my own router, which is performing as with multiple services …

Continue reading ‘Windows 10 – Select Primary network interface’ »