PowerShell Logo Small

Enable-Ual



This is the built-in help made by Microsoft for the command 'Enable-Ual', 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.

SYNOPSIS

Enables UAL at the next restart.

SYNTAX


Enable-Ual [-AsJob] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Enable-Ual cmdlet enables User Access Logging (UAL) at the next restart of the server. You can use the CimSession parameter to run the cmdlet on a remote server. This
cmdlet does not start the UAL service.


You can use the Get-Ual cmdlet to check the startup status for UAL. You can use the Disable-Ual and Enable-Ual cmdlets to change the startup status.


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



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=287587
Disable-Ual
Get-Ual
Get-UalOverview

REMARKS

<

Examples


Example 1: Enable UAL at restart

PS C:\>Enable-Ual



This command enables UAL for the local server. The next time you restart the server, UAL logging begins. You can use the Get-Ual cmdlet to check UAL startup status.