$DCs = Get-ADDomainController -Filter * | Select-Object name -ExpandProperty name
foreach ($dc in $dcs ) {
Get-WindowsFeature -computername $dc fs-smb1 | Select-Object @{name="Computer Name";e={$Dc}},InstallState
}
foreach ($dc in $dcs ) {
Get-WindowsFeature -computername $dc fs-smb1 | Select-Object @{name="Computer Name";e={$Dc}},InstallState
}
No comments:
Post a Comment