Get-SilUalAccess
Get-SilUalAccess
Displays the total number of unique client device requests and client user requests of the server from two days prior. Windows Server 2012 R2 with KB3000850 applied. For more information, see https://support.microsoft.com/kb/3000850.
Sintaxe
Parameter Set: Query (cdxml)
Get-SilUalAccess [[-RoleGuid] <String[]> ] [-AsJob] [-CimSession <CimSession[]> ] [-RoleName <String[]> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]
Descrição detalhada
The Get-SilUalAccess cmdlet displays the total number of unique client device requests and the total number of client user requests for server roles or software products. You can specify the RoleName parameter and RoleGuid parameter to filter the client device requests and client user requests of the server that the cmdlet displays.
The cmdlet returns totals of client requests for a server role or software product that uses the User Access Logging framework to capture client requests. The cmdlet returns totals for one calendar day, two days prior to when the cmdlet is run.
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 |
-RoleGuid<String[]>
Specifies an array of GUIDs of server roles or 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 |
-RoleName<String[]>
Specifies an array of names of server roles or 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_UalAccess
This cmdlet returns an object that encapsulates the unique role access information for a device or user. That object includes the following properties:
-- ProductName (System.String)
-- RoleGuid (System.String)
-- RoleName (System.String)
-- SampleDate (System.DateTime)
-- UniqueDeviceAccessCount (System.UInt32)
-- UniqueUserAccessCount (System.UInt32)
Exemplos
Example 1: Display the total number of client requests of the server
This command displays the total number of unique client requests of the server for the day, two days prior from when the cmdlet is run.
PS C:\> Get-SilUalAccess
Example 2: Display UAL data for a specified server role
This command displays a filtered list of UAL data for only the server role specified.
PS C:\> Get-SilUalAccess –RoleName "Print and Document Services"