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.

Syntax

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

Detaillierte Beschreibung

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.

Parameter

-AsJob

Aliasse

Keiner

Erforderlich?

false

Position?

named

Standardwert

Keiner

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-CimSession<CimSession[]>

Führt das Cmdlet in einer Remotesitzung oder auf einem Remotecomputer aus. Geben Sie einen Computernamen oder ein Sitzungsobjekt ein, z. B. die Ausgabe eines Cmdlets New-CimSession oder Get-CimSession. Der Standardwert ist die aktuelle Sitzung auf dem lokalen Computer.

Aliasse

Session

Erforderlich?

false

Position?

named

Standardwert

Keiner

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-RoleGuid<String[]>

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

Aliasse

Keiner

Erforderlich?

false

Position?

1

Standardwert

Keiner

Pipelineeingaben akzeptieren?

True (ByPropertyName)

Platzhalterzeichen akzeptieren?

false

-RoleName<String[]>

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

Aliasse

Keiner

Erforderlich?

false

Position?

named

Standardwert

Keiner

Pipelineeingaben akzeptieren?

True (ByPropertyName)

Platzhalterzeichen akzeptieren?

false

-ThrottleLimit<Int32>

Gibt die maximale Anzahl von gleichzeitigen Vorgängen an, die zum Ausführen dieses Cmdlets eingerichtet werden können. Wenn dieser Parameter ausgelassen oder der Wert 0 eingegeben wird, berechnet Windows PowerShell® einen optimalen Drosselungsgrenzwert für das Cmdlet basierend auf der Anzahl der CIM-Cmdlets, die auf dem Computer ausgeführt werden. Die Drosselungsgrenze gilt nur für das aktuelle Cmdlet und nicht für die Sitzung oder den Computer.

Aliasse

Keiner

Erforderlich?

false

Position?

named

Standardwert

Keiner

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

<CommonParameters>

Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Eingaben

Der Eingabetyp ist der Typ der Objekte, die über die Pipeline an das Cmdlet übergeben werden können.

Ausgaben

Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.

  • 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)

Beispiele

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"

Verwandte Themen

Get-SilSoftware

Get-SilComputer

Get-SilData

Get-SilLogging

Get-SilWindowsUpdate