Written
July 10, 2012
I have most of the cmdlets converted to 2012, but I am having trouble with the discovery part
$Discover = New-WindowsDiscoveryConfiguration -ComputerName $NonSCOM -PerformVerification -ComputerType "Server"
$Discover.ComputerNameDiscoveryCriteria.getComputernames() | ForEach {Write-Verbose ("{0}: Attempting to discover" -f $_)}
Write-Verbose ("[{0}] Beginning SCOM discovery" -f (Get-Date))
$DiscResults = Start-Discovery -WindowsDiscoveryConfiguration $Discover -ManagementServer $MgmtServer
The term 'New-WindowsDiscoveryConfiguration' is not recognized as the name of a cmdlet,
Thanks in advance!!