obtener_hostnames_de_adcomputers_segun_coincidencias_en_la_descripcion
This is an old revision of the document!
Usa la keyword con * para indicar que puede estar en cualquier parte del string.
$keyword = "*Alex*" # Get all domain computers with the specified keyword in the description field $computers = Get-ADComputer -Filter {Description -like $keyword} | Select-Object -ExpandProperty Name # Output the computer names $computers
obtener_hostnames_de_adcomputers_segun_coincidencias_en_la_descripcion.1684161424.txt.gz · Last modified: 2024/10/17 21:42 (external edit)
