次の方法で共有


GetByPath method of the MSFT_WdacBidTraceTask class

Retrieves Built-in Diagnostics Tracing (BidTrace) for troubleshooting WDAC components.

Syntax

uint32 GetByPath(
  [in]  string            Platform,
  [in]  string            Path,
  [in]  uint32            ProcessId,
  [out] MSFT_WdacBidTrace cmdletOutput[]
);

Parameters

Platform [in]

The platform architecture of the WDAC BidTrace setting. Possible values are '32-bit', '64-bit' or 'All'. The default is 'All'. This is the platform architecture on the remote machine if this command is executed on a remote CIM session.

Path [in]

Gets only WDAC BidTrace settings that are associated with the specified application full path. You can use wildcard characters. The default is to return all WDAC BidTrace settings.

ProcessId [in]

Gets only WDAC BidTrace settings that are associated with the specified Process ID. The parameter PlatformId is optional. The default is to return all WDAC BidTrace settings.

cmdletOutput [out]

The output is an array of CIM objects of type MSFT_WdacBidTrace, each of which represents a WDAC BidTrace setting.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\WDAC
MOF
WdacWmiProv.mof
DLL
WdacWmiProv.dll

See also

MSFT_WdacBidTraceTask

MSFT_WdacBidTrace