Get-SilSoftware
Get-SilSoftware
Displays the point in time identity of all software installed on the computer. Windows Server 2012 R2 with KB3000850 applied. For more information, see https://support.microsoft.com/kb/3000850.
Sintassi
Parameter Set: Query (cdxml)
Get-SilSoftware [[-ID] <String[]> ] [-AsJob] [-CimSession <CimSession[]> ] [-Name <String[]> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]
Descrizione dettagliata
The Get-SilSoftware cmdlet displays a list of all software products installed on computer. Software Inventory Logging collects the data at the point in time that you run the cmdlet. You can specify the ID parameter and Name parameter to filter the installed software products that the cmdlet displays.
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 |
-ID<String[]>
Specifies an array of IDs of the software products installed on the server.
Alias |
nessuno |
Obbligatorio? |
false |
Posizione? |
1 |
Valore predefinito |
nessuno |
Accetta input da pipeline? |
True (ByPropertyName) |
Accetta caratteri jolly? |
false |
-Name<String[]>
Specifies an array of names of the software products installed on the server.
Alias |
nessuno |
Obbligatorio? |
false |
Posizione? |
named |
Valore predefinito |
nessuno |
Accetta input da pipeline? |
True (ByPropertyName) |
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_Software
This cmdlet returns an object that encapsulates information about the program installed by using Windows Installer. That object includes the following properties:
-- ID (System.String)
-- InstallDate (System.DateTime)
-- Name (System.String)
-- Publisher (System.String)
-- Version (System.String)
Esempi
Example 1: Display the identity of all installed software
This command displays the point in time identity of all software installed on the host server.
PS C:\> Get-SilSoftware