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.

Sintaxis

Parameter Set: Query (cdxml)
Get-SilUalAccess [[-RoleGuid] <String[]> ] [-AsJob] [-CimSession <CimSession[]> ] [-RoleName <String[]> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]

Descripción detallada

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

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-CimSession<CimSession[]>

Ejecuta el cmdlet en una sesión remota o en un equipo remoto. Escriba un nombre de equipo o un objeto de sesión, como la salida de un cmdlet New-CimSession o Get-CimSession. El valor predeterminado es la sesión actual en el equipo local.

Alias

Session

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-RoleGuid<String[]>

Specifies an array of GUIDs of server roles or software products installed on the server.

Alias

ninguno

¿Requerido?

false

¿Posición?

1

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByPropertyName)

¿Aceptar caracteres comodín?

false

-RoleName<String[]>

Specifies an array of names of server roles or software products installed on the server.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByPropertyName)

¿Aceptar caracteres comodín?

false

-ThrottleLimit<Int32>

Especifica el número máximo de operaciones simultáneas que se pueden establecer para ejecutar el cmdlet. Si se omite este parámetro o es especifica un valor de 0, Windows PowerShell ® calcula un límite óptimo para el cmdlet en función del número de cmdlets de CIM que se estén ejecutando en el equipo. El límite solo se aplica al cmdlet actual, no a la sesión ni al equipo.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

Salidas

El tipo de resultado es el tipo de objetos que emite el 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)

Ejemplos

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"

Temas relacionados

Get-SilSoftware

Get-SilComputer

Get-SilData

Get-SilLogging

Get-SilWindowsUpdate