Partager via


EnableByFolder method of the MSFT_WdacBidTraceTask class

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

Syntax

uint32 EnableByFolder(
  [in]  boolean           PassThru,
  [in]  string            Platform,
  [in]  string            Folder,
  [out] MSFT_WdacBidTrace cmdletOutput[]
);

Parameters

PassThru [in]

Passes the object created by this cmdlet through the pipeline. By default, this cmdlet does not pass any objects through the pipeline.

Platform [in]

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

Folder [in]

Enable BidTrace for all applications under this folder.

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