PowerShell Logo Small

Enable-WdacBidTrace



This is the built-in help made by Microsoft for the command 'Enable-WdacBidTrace', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 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 Built-in Diagnostics Tracing (BidTrace) for troubleshooting WDAC components.

SYNTAX


Enable-WdacBidTrace [-InputObject] <CimInstance> [-AsJob [<SwitchParameter>]] [-CimSession <CimSession>] [-PassThru [<SwitchParameter>]]
[-ThrottleLimit <Int32>] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Enable-WdacBidTrace [-AsJob [<SwitchParameter>]] [-CimSession <CimSession>] [-PassThru [<SwitchParameter>]] [-Platform <String>]
[-ThrottleLimit <Int32>] -Folder <String> [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Enable-WdacBidTrace [-AsJob [<SwitchParameter>]] [-CimSession <CimSession>] [-PassThru [<SwitchParameter>]] [-Platform <String>]
[-ThrottleLimit <Int32>] -IncludeAllApplications [<SwitchParameter>] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]]
[<CommonParameters>]
Enable-WdacBidTrace [-Path] <String> [-AsJob [<SwitchParameter>]] [-CimSession <CimSession>] [-PassThru [<SwitchParameter>]] [-Platform
<String>] [-ProcessId <UInt32>] [-ThrottleLimit <Int32>] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


For more information about data source names and drivers, see Data Sourceshttp://msdn.microsoft.com/en-us/library/ms711688.aspx and
Drivershttp://msdn.microsoft.com/en-us/library/ms715383.aspx. For more information about data access tracing (Bidtrace), see Troubleshooting
Windows DAC/MDAChttp://msdn.microsoft.com/en-us/library/ms693114(VS.85).aspx.



<

RELATED LINKS

Disable-WdacBidTrace
Get-WdacBidTrace
N:Wdac



REMARKS

<

Examples




PS C:\> Enable-WdacBidTrace -Path "C:\temp\abc.exe" -Platform 32-bit



This command enables the BidTrace for the application "C:\temp\abc.exe" on the 32-bit platform:






PS C:\> Enable-WdacBidTrace -Path "C:\temp\abc.exe" -ProcessId 1234 -Platform 32-bit



This command enables the bid trace for the application "C:\temp\abc.exe" on the 32-bit platform but it only enables bid tracing for a
particular instance of "abc.exe" (with Process ID = 1234):






PS C:\> Enable-WdacBidTrace -Folder "C:\temp"



This command enables a bid trace for all applications located inside C:\temp on the native platform:






PS C:\> Enable-WdacBidTrace -IncludeAllApplications -Platform 64-bit



This command enables the bid trace for all 64-bit applications:






PS C:\> $bidSetting = Enable-WdacBidTrace -Path "C:\temp\abc.exe" -Platform 64-bit -PassThru
<use C:\temp\abc.exe>
Disable-WdacBidTrace $bidSetting



This command first enables the WDAC bid trace for the 64-bit application "C:\temp\abc.exe". It also saves the result into a PowerShell
variable that can be reused in Disable-OdbcPerfCounter: