active directory users and computer count Powershell | Windows server 2025

Опубликовано: 18 Июль 2024
на канале: InfoAlias
137
2

To count the number of active users in Active Directory using PowerShell, you can use the following command:

Get-ADUser -Filter {Enabled -eq $true} | Measure-Object | Select-Object -ExpandProperty Count

To count the number of enabled computers in Active Directory using PowerShell, you can use the following command:

Get-ADComputer -Filter {Enabled -eq $true} | Measure-Object | Select-Object -ExpandProperty Count

#powershellscript
#powershell
#windowsserver2025
#windowsserver
#activedirectory


Смотрите видео active directory users and computer count Powershell | Windows server 2025 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь InfoAlias 18 Июль 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 137 раз и оно понравилось 2 людям.