Export (0) Print
Expand All

Get-WdacBidTrace

Windows Server 2012 R2 and Windows 8.1

Updated: June 5, 2014

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

Get-WdacBidTrace

Gets BidTrace settings.

Syntax

Parameter Set: Path
Get-WdacBidTrace [[-Path] <String> ] [-AsJob] [-CimSession <CimSession[]> ] [-Platform <String> ] [-ProcessId <UInt32> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]

Parameter Set: AllApp
Get-WdacBidTrace -IncludeAllApplications [-AsJob] [-CimSession <CimSession[]> ] [-Platform <String> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]

Parameter Set: Folder
Get-WdacBidTrace -Folder <String> [-AsJob] [-CimSession <CimSession[]> ] [-Platform <String> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]




Detailed 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/hh829624(VS.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.


Aliases

ApplicationPath

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.


Aliases

none

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.


Aliases

ApplicationFolder

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-IncludeAllApplications

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


Aliases

none

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.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-AsJob

Runs the cmdlet as a background job. Use this parameter to run commands that take a long time to complete. The cmdlet immediately returns an object that represents the job and then displays the command prompt. You can continue to work in the session while the job completes. To manage the job, use the *-Job cmdlets. To get the job results, use the Receive-Job cmdlet. For more information about Windows PowerShell® background jobs, see about_Jobs.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

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.


Aliases

Session

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.


Aliases

none

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, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • Microsoft.Management.Infrastructure.CimInstance#MSFT_WdacBidTrace[]

Examples

Example 1: Get all BidTrace settings

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


C:\PS>Get-WdacBidTrace

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

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


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

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

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


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

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

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


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

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

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


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

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

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.


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

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

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


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

Example 8: Get BidTrace settings for both platforms

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


C:\PS>$bidArray = Get-WdacBidTrace

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft