Determining number of available QAS licenses
In Windows using powershell (PS) you can determine how many systems are using licenses.
Note that this needs to be run on a system with the MS RSAT tools installed and depending on the version of PS you may need to run the following command in PS prior to running the below commands:
import-module activedirectory
This first command will tell you how many machines were joined to Active Directory that include Authentication Services in the operatingsystemversion.
[PS] Get-ADComputer -filter {(OperatingSystemVersion -Like '*qas-*') -or (OperatingSystemVersion -Like '*sas-*') -or (OperatingSystemVersion -Like '*vas-*')} -Properties * |measure
This second command will create a list of those same machines including the last time they reset their computer object password. By default the password is set every 30 days. This list should help clean up orphaned computer objects to obtain a more accurate count of machines.
© 2022 One Identity LLC. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy