Share via


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.

Sintassi

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

Descrizione dettagliata

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.

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

-RoleGuid<String[]>

Specifies an array of GUIDs of server roles or 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

-RoleName<String[]>

Specifies an array of names of server roles or 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_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)

Esempi

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"

Argomenti correlati

Get-SilSoftware

Get-SilComputer

Get-SilData

Get-SilLogging

Get-SilWindowsUpdate