Last active
December 13, 2019 08:30
-
-
Save grimmo/1219274de0d8738c486f7bf9981f412c to your computer and use it in GitHub Desktop.
Rileva versione Windows macchine in dominio
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dsquery * -filter "(&(objectCategory=computer)(!userAccountControl:1.2.840.113556.1.4.803:=2))" -limit 0 -attr cn operatingSystemVersion > elenco.txt | |
REM for /F %I in ('type elenco.txt') do systeminfo /S %I | findstr "host OS " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment