Get-UalServerDevice

Get-UalServerDevice

Gets UAL records for a server per device.

Sintaxis

Parameter Set: ByName
Get-UalServerDevice [-ActivityCount <UInt32[]> ] [-AsJob] [-ChassisSerialNumber <String[]> ] [-CimSession <CimSession[]> ] [-FirstSeen <DateTime[]> ] [-IPAddress <String[]> ] [-LastSeen <DateTime[]> ] [-ThrottleLimit <Int32> ] [-UUID <String[]> ] [ <CommonParameters>]

Descripción detallada

The Get-UalServerDevice cmdlet gets User Access Logging (UAL) records for client requests, by device, for services on a server. Use the CimSession parameter to run the cmdlet on a remote server.

This cmdlet organizes information by device. For each device that accesses a service on a server, the cmdlet returns a record that specifies the IP address of the device, the chassis serial number for the server, and Universally Unique Identifier (UUID) for the server. The record also includes the first time the client accessed the service, the most recent time the client accessed the service, and the total number of times the client accessed the service.

You can specify parameter values to narrow the records that this cmdlet returns. For instance, you can get records for only a specified IP address.

For more information about UAL, see the User Access Logging Overview topic in the TechNet library at https://technet.microsoft.com/library/hh849634.aspx.

Parámetros

-ActivityCount<UInt32[]>

Specifies an array of the number of access requests by a client for a service.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

false

-AsJob

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-ChassisSerialNumber<String[]>

Specifies an array of strings. Each member contains the UUID of a server.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

true

-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

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-FirstSeen<DateTime[]>

Specifies an array of dates, as DateTime objects. A time represents when the client accessed the service for the first time.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

false

-IPAddress<String[]>

Specifies an array of IP addresses for clients that request a service.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

true

-LastSeen<DateTime[]>

Specifies an array of dates, as DateTime objects. A time represents when the client accessed the service for the most recent time.

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

-UUID<String[]>

Specifies an array of UUIDs for servers. UAL gets this identifier from the SMBIOS.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

true

<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.

Ejemplos

Example 1: Get access records for a specified device

This command gets the UAL records for a server for a client with a specified IP address. The results show this client accessed a service on this server for the first time on 8/25/2012 and most recently on 9/1/2012.

PS C:\> Get-UalServerDevice -IPAddress "10.17.44.6"

Temas relacionados

Get-UalOverview

Get-UalServerUser

Get-UalDailyUserAccess

Get-UalUserAccess