🤬
48a754b8
ROOT /
docs /
Stop-Profiling.md
167 lines | windows-1252 | 4 KB

external help file: Microsoft.Windows.Win32Isolation.ApplicationCapabilityProfiler.dll-Help.xml Locale: en-US Module Name: Microsoft.Windows.Win32Isolation.ApplicationCapabilityProfiler ms.date: 05/16/2023 online version: schema: 2.0.0 title: Stop-Profiling

Stop-Profiling

SYNOPSIS

Stops access attempt profiling for a specified application package.

SYNTAX

Stop-Profiling [[-TracePath] <string>] [-PackageFullName <string>] [-ManifestPath <string>] [-Quiet] [-WhatIf]
[-Confirm] [<CommonParameters>]


DESCRIPTION

The Stop-Profiling cmdlet is used to stop access attempt profiling for a specified application package. The cmdlet stops an active trace logging session started via Start-Profiling, collects the resulting Event Trace Log (ETL) file and takes away access attempt trace logging instrumentation from all currently instrumented packages.

EXAMPLES

Example 1: Stop profiling and save results to the default trace path.

Stop-Profiling

Example 2: Stop profiling and save results to a specific trace path.

Stop-Profiling -TracePath "C:\Path\To\Trace.etl"

PARAMETERS

-TracePath

Specifies the path to which save the collected Event Trace Log.

Type: System.String
Parameter Sets: (All)
Aliases: t, Trace

Required: False
Position: Named
Default value: <working directory>\trace.etl
Accept pipeline input: False
Accept wildcard characters: False

-ManifestPath

Specifies the path to the manifest file of the application package from which to take away access attempt logging instrumentation. Supersedes -PackageFullName. Avoid using unless individual packages must have instrumentation taken away.

Type: System.String
Parameter Sets: (All)
Aliases: m, Manifest

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-PackageFullName

Superseded by -ManifestPath. Specifies the full name of the application package from which to take away access attempt logging instrumentation. Avoid using unless individual packages must have instrumentation taken away. This can be obtained via Get-AppxPackage. See ApplicationCapabilityProfiler for details.

Type: System.String
Parameter Sets: (All)
Aliases: p, PackageName

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SignedFilePath

[Optional] Specifies the path to the authenticode sign file for application packages that are authenticode signed.

Type: System.String
Parameter Sets: (All)
Aliases: s

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Quiet

Indicates that the cmdlet runs in quiet mode, suppressing unnecessary output and prompts.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not executed.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

ApplicationCapabilityProfiler

Start-Profiling

Get-ProfilingResults

Merge-ProfilingResults

Get-AppxPackage

Please wait...
Page is in error, reload to recover