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.
Sintaxe
Parameter Set: Query (cdxml)
Get-SilSoftware [[-ID] <String[]> ] [-AsJob] [-CimSession <CimSession[]> ] [-Name <String[]> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]
Descrição detalhada
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.
Parâmetros
-AsJob
Aliases |
nenhuma |
Necessário? |
false |
Posição? |
named |
Valor padrão |
nenhuma |
Aceitar entrada do pipeline? |
false |
Aceitar caracteres curinga? |
false |
-CimSession<CimSession[]>
Executa o cmdlet em uma sessão remota ou em um computador remoto. Insira um nome do computador ou um objeto de sessão, como a saída de um cmdlet New-CimSession ou Get-CimSession. O padrão é a sessão atual do computador local.
Aliases |
Session |
Necessário? |
false |
Posição? |
named |
Valor padrão |
nenhuma |
Aceitar entrada do pipeline? |
false |
Aceitar caracteres curinga? |
false |
-ID<String[]>
Specifies an array of IDs of the software products installed on the server.
Aliases |
nenhuma |
Necessário? |
false |
Posição? |
1 |
Valor padrão |
nenhuma |
Aceitar entrada do pipeline? |
True (ByPropertyName) |
Aceitar caracteres curinga? |
false |
-Name<String[]>
Specifies an array of names of the software products installed on the server.
Aliases |
nenhuma |
Necessário? |
false |
Posição? |
named |
Valor padrão |
nenhuma |
Aceitar entrada do pipeline? |
True (ByPropertyName) |
Aceitar caracteres curinga? |
false |
-ThrottleLimit<Int32>
Especifica o número máximo de operações simultâneas que podem ser estabelecidas para executar o cmdlet. Se esse parâmetro for omitido ou um valor de 0
for inserido, o Windows PowerShell® calculará o limite ideal de restrição para o cmdlet com base no número de cmdlets do CIM que estão em execução no computador. O limite de restrição se aplica somente ao cmdlet atual, e não à sessão ou ao computador.
Aliases |
nenhuma |
Necessário? |
false |
Posição? |
named |
Valor padrão |
nenhuma |
Aceitar entrada do pipeline? |
false |
Aceitar caracteres curinga? |
false |
<CommonParameters>
Esse cmdlet dá suporte a parâmetros comuns: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Para obter mais informações, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entradas
O tipo de entrada é o tipo dos objetos que você pode canalizar para o cmdlet.
Saídas
O tipo de saída é o tipo de objeto emitido pelo 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)
Exemplos
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