Get-WdacBidTrace

Get-WdacBidTrace

Gets BidTrace settings.

構文

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>]

詳細説明

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) (https://msdn.microsoft.com/en-us/library/hh829624(VS.85).aspx) on the Microsoft Developer Network.

パラメーター

-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.

エイリアス

ApplicationPath

必須?

false

位置は?

1

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

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.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

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.

エイリアス

ApplicationFolder

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

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.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-Platform<String>

Specifies the platform architecture. This cmdlet gets Windows DAC BidTrace settings that belong to the architecture that this parameter specifies. このパラメーターに対して使用できる値:

-- 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.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-AsJob

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-CimSession<CimSession[]>

リモート セッションまたはリモート コンピューターでコマンドレットを実行します。New-CimSession コマンドレットや Get-CimSession コマンドレットの出力など、コンピューター名またはセッション オブジェクトを入力します。既定値は、ローカル コンピューターで実行中の現在のセッションです。

エイリアス

Session

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-ThrottleLimit<Int32>

このコマンドレットを実行するために確立できる最大同時操作数を指定します。このパラメーターを省略するか、値として 0 を入力した場合、Windows PowerShell® では、コンピューターで実行している CIM コマンドレットの数に基づいて、コマンドレットに対する最適なスロットル制限を計算します。スロットル制限は現在のコマンドレットのみに適用され、セッションまたはコンピューターには適用されません。

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

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

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

関連トピック

Disable-WdacBidTrace

Enable-WdacBidTrace

N:Wdac