PowerShell Logo Small


This is the built-in help made by Microsoft for the command 'Get-UalServerDevice', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.


Gets UAL records for a server per device.


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

Search powershellhelp.space


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 http://technet.microsoft.com/library/hh849634.aspx.



Online Version: http://go.microsoft.com/fwlink/p/?linkid=287596




Example 1: Get access records for a specified device

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

ActivityCount : 45

ChassisSerialNumber : 3876-1195-3456-9223-4533-2345-22

FirstSeen : 8/25/2012 4:37:23 PM

IPAddress :

LastSeen : 9/1/2012 9:30:09 PM

UUID : A9257362-6961-405E-8DB5-1B351A77C278

PSComputerName :

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.