Get-SilComputer
Get-SilComputer
Displays the point in time values for specific server and operating system-related data. Windows Server 2012 R2 with KB3000850 applied. For more information, see https://support.microsoft.com/kb/3000850.
Sintassi
Parameter Set: Default
Get-SilComputer [-AsJob] [-CimSession <CimSession[]> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]
Descrizione dettagliata
The Get-SilComputer cmdlet displays the point in time values for specific server and operating system-related data needed for most common inventory purposes. The data is collected at the point in time when the cmdlet runs.
Parametri
-AsJob
Alias |
nessuno |
Obbligatorio? |
false |
Posizione? |
named |
Valore predefinito |
nessuno |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
false |
-CimSession<CimSession[]>
Esegue il cmdlet in una sessione remota o in un computer remoto. Immettere un nome di computer o un oggetto di sessione, ad esempio l'output del cmdlet New-CimSession o Get-CimSession. Il valore predefinito è la sessione corrente nel computer locale.
Alias |
Session |
Obbligatorio? |
false |
Posizione? |
named |
Valore predefinito |
nessuno |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
false |
-ThrottleLimit<Int32>
Specifica il numero massimo di operazioni simultanee che è possibile stabilire per eseguire il cmdlet. Se il parametro viene omesso o si specifica il valore 0
, Windows PowerShell® calcola un valore limite ottimale per il cmdlet basato sul numero di cmdlet CIM in esecuzione nel computer. Questo valore limite si applica solo al cmdlet corrente, non alla sessione o al computer.
Alias |
nessuno |
Obbligatorio? |
false |
Posizione? |
named |
Valore predefinito |
nessuno |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
false |
<CommonParameters>
Questo cmdlet supporta i parametri comuni: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Per altre informazioni, vedere about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Input
Il tipo di input è il tipo degli oggetti che è possibile reindirizzare al cmdlet.
Output
Il tipo di output corrisponde al tipo di oggetti generati dal cmdlet.
Microsoft.Management.Infrastructure.CimInstance#root/InventoryLogging/MsftSil_Computer
This cmdlet returns an object that encapsulates miscellaneous properties from a computer. That object includes the following properties:
-- ChassisSerialNumber (System.String)
-- CollectedDateTime (System.DateTime)
-- Model (System.String)
-- Name (System.String)
-- NumberOfCores (System.UInt32)
-- NumberOfLogicalProcessors (System.UInt32)
-- NumberOfProcessors (System.UInt32)
-- OSName (System.String)
-- OSSku (System.UInt32)
-- OSSuite (System.UInt32)
-- OSSuiteMask (System.UInt32)
-- OSVersion (System.String)
-- ProcessorFamily (System.UInt32)
-- ProcessorManufacturer (System.String)
-- ProcessorName (System.String)
-- SystemManufacturer (System.String)
Esempi
Example 1: Retrieve Software Inventory Logging computer data
This command displays the point in time values for all server and operating system-related data.
PS C:\> Get-SilComputer