< Back

Get-WdacBidTrace

Wed Jan 30, 2019 6:06 pm

NAME Get-WdacBidTrace



SYNOPSIS

Gets BidTrace settings.





SYNTAX

Get-WdacBidTrace [[-Path] <String>] [-CimSession <CimSession[]>] [-Platform {32-bit | 64-bit | All}] [-ProcessId <UInt32>] [-ThrottleLimit <Int32>]

[<CommonParameters>]



Get-WdacBidTrace [-CimSession <CimSession[]>] [-Platform {32-bit | 64-bit | All}] [-ThrottleLimit <Int32>] -Folder <String> [<CommonParameters>]



Get-WdacBidTrace [-CimSession <CimSession[]>] [-Platform {32-bit | 64-bit | All}] [-ThrottleLimit <Int32>] -IncludeAllApplications [<CommonParameters>]





DESCRIPTION

The Get-WdacBidTrace cmdlet gets a list of Built-in Diagnostics Tracing (BidTrace) settings for different applications.



For more information about data access tracing, see Data Access Tracing (Windows 8) (http://msdn.microsoft.com/en-us/library ... S.85).aspx) on

the Microsoft Developer Network.





PARAMETERS

-Path [<String>]

Specifies the full path for an application. This cmdlet gets Windows Data Access Components (Windows DAC) BidTrace settings for the application that

this parameter specifies. You can use wildcard characters. If you do not specify this parameter, this cmdlet gets all Windows DAC BidTrace settings.



Required? false

Position? 1

Default value none

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ProcessId [<UInt32>]

Specifies a process ID. This cmdlet gets Windows DAC BidTrace settings for the process that has the ID that this parameter specifies. If you do not

specify this parameter, this cmdlet gets all Windows DAC BidTrace settings.



Required? false

Position? named

Default value none

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Folder <String>

Specifies a folder. This cmdlets gets Windows DAC BidTrace settings that are associated with the folder that this parameter specifies. You can use

wildcard characters.



Required? true

Position? named

Default value none

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-IncludeAllApplications <SwitchParameter>

Indicates that this cmdlet applies to all applications. If you specify this parameter, the cmdlet gets Windows DAC BidTrace settings for with all

applications.



Required? true

Position? named

Default value none

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Platform [<String>]

Specifies the platform architecture. This cmdlet gets Windows DAC BidTrace settings that belong to the architecture that this parameter specifies.

The acceptable values for this parameter are:



-- 32-bit

-- 64-bit

-- All



The default value is 32-bit on a 32-bit process. The default value is 64-bit on a 64-bit process. If you run this cmdlet in a remote CIM session,

this parameter refers to the platform architecture on the remote computer.



Required? false

Position? named

Default value none

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-CimSession [<CimSession[]>]

Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession or

Get-CimSession cmdlet. The default is the current session on the local computer.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-ThrottleLimit [<Int32>]

Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is

entered, then Windows PowerShell???? calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the

computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS









OUTPUTS

Microsoft.Management.Infrastructure.CimInstance#MSFT_WdacBidTrace[]







Example 1: Get all BidTrace settings



C:\\PS>Get-WdacBidTrace



This command gets all BidTrace settings for both 32-bit and 64-bit platforms.





Example 2: Get the BidTrace setting for an application on a platform



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



This command gets the BidTrace setting for the application C:\\temp\\abc.exe and the specific settings for all its process instances on the 32-bit

platform.





Example 3: Get the BidTrace setting for an application by using a Process ID



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



This command gets the BidTrace setting for the application C:\\temp\\abc.exe that has the Process ID 1234 on the 64-bit platform.





Example 4: Get the BidTrace setting for an application by using a wildcard character



C:\\PS>Get-WdacBidTrace -Path "C:\\*\\abc.exe" -Platform "64-bit"



This command gets the BidTrace setting for the specified application on the 64-bit platform. The Path parameter uses a wildcard character.





Example 5: Get the BidTrace setting for application in a specified folder



C:\\PS>Get-WdacBidTrace -Folder "C:\\temp" -Platform "32-bit"



This command gets the BidTrace setting for the application located inside C:\\temp on the 32-bit platform.





Example 6: Get the BidTrace setting for application in a folder that includes a wildcard character



C:\\PS>Get-WdacBidTrace -Folder "C:\\t*mp" -Platform "32-bit"



This command gets the BidTrace setting for the application in the specified location on the 32-bit platform. The Path parameter uses a wildcard

character.





Example 7: Get the BidTrace settings for all 32-bit applications



C:\\PS>Get-WdacBidTrace -IncludeAllApplications -Platform "32-bit"



This command gets the BidTrace settings for all 32-bit applications on the computer.





Example 8: Get BidTrace settings for both platforms



C:\\PS>$BidArray = Get-WdacBidTrace



This command gets all BidTrace settings for both 32-bit and 64-bit platforms, and then store the results in the $BidArray variable.







RELATED LINKS

Disable-WdacBidTrace

Enable-WdacBidTrace