Skip to content
Lehmannade.com
  • Home
  • Blog
  • Videos
  • About

Powershell

Find Windows 10/11 Pro computers in Active Directory

June 6, 2024June 5, 2024 by Christian Lehmann

Get-ADComputer -Filter “OperatingSystem -eq ‘Windows 10 Pro’ -or OperatingSystem -eq ‘Windows 11 Pro’” | ft

Categories Powershell

Find users in Active Directory where showInAddressBook attribute is not Null

June 6, 2024June 5, 2024 by Christian Lehmann

Get-ADUser -filter * -Properties * | ? {$_.showInAddressBook -ne $null} | Select-Object CN,SamAccountName,showInAddressBook

Categories Powershell

Hi. My name is Christian and this site is dedicated to my adventures in the world of Information Technology.

  • Removing a Hyper-V VM with Saved-Critical status.
  • Dell System Update (DSU)
  • Find Windows 10/11 Pro computers in Active Directory
  • Find users in Active Directory where showInAddressBook attribute is not Null
© 2025 Lehmannade.com • Built with GeneratePress