Get-SbecTraceProviders
Gets the ETW trace providers.
Syntax
Default (Default)
Get-SbecTraceProviders
[-Uncached]
[<CommonParameters>]
Description
The Get-SbecTraceProviders cmdlet gets the list of ETW trace providers, building the hash tables for translation from name to GUID and back.
Get-SbecTraceProviders returns a hash table with the following nested hash tables:
<ByName>
: Finds the provider object by name.<ByGuid>
: Finds the provider object by GUID.<NameToGuid>
: Translation of provider name (key) to GUID string (value).<GuidToName>
: Translation of provider GUID (key) to name (value).
Curly braces are added to the GUIDs when they are converted to strings.
The returned hash table is also saved as a cache, and is returned on subsequent calls. If any new providers are defined, they are added to the cache (and thus to the previously returned references to it) on subsequent calls.
Parameters
-Uncached
Indicates that this operation bypasses the cache.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.