All Questions
Tagged with wmic powershell-v3.0
1 question
0
votes
1
answer
788
views
GWMI - Find out if Domain Controllers are physical or virtual via script
I have tried to create a script for extracting but the output is not quite I desired.
$Servers = Get-ADDomainController -Filter * | Select-Object Name
foreach($server in $servers)
{
$compsystem = ...