Hi guys,
I’m trying this code but re turns only one computer
Get-ADComputer -Filter * | Get-ComputerInfo | Select CsDomain, CsName, LogonServer, CsCaption, CsDomainRole, CsDNSHostName, OsName, OsInstallDate, OsVersion, WindowsCurrentVersion, OsProductType, OsArchitecture, OsLanguage, WindowsEditionId, WindowsInstallationType, WindowsProductId, OsCountryCode, OsLocale, OsLocalDateTime, OsLastBootUpTime, OsUptime,OsMuiLanguages,OsSerialNumber,OsStatus, OsSuites, OsServerLevel, KeyboardLayout, TimeZone, WindowsRegisteredOrganization
Returns multiple values with only one computer name which is the first computer from Get-adcomputer -Filter *
Tried Foreach, same output …
Tried invoke-command - But I have to enter each computer name in the domain ‘Which is painful!’ … Any opinions ?