Имя пользователя:
Пароль:
 

Показать сообщение отдельно

Ветеран


Сообщения: 27449
Благодарности: 8088

Профиль | Отправить PM | Цитировать


Код: Выделить весь код
wmic.exe ComputerSystem get Name, PartOfDomain
NB! Только для ОС от Windows XP и выше.

Win32_ComputerSystem class (Windows):
Цитата:
PartOfDomain

Data type: boolean
Access type: Read-only

If True, the computer is part of a domain. If the value is NULL, the computer is not in a domain or the status is unknown. If you unjoin the computer from a domain, the value becomes false.
Это сообщение посчитали полезным следующие участники:

Отправлено: 11:12, 05-02-2014 | #2