🤬
48a754b8
ROOT /
docs /
Start-Profiling.md
166 lines | UTF-8 | 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: Start-Profiling

Start-Profiling

SYNOPSIS

Initiates access attempt profiling for a specified application package.

SYNTAX

Start-Profiling [[-ManifestPath] <string>] [-PackageFullName <string>] [-SignedFilePath <string>] [-Quiet]
[-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

The Start-Profiling cmdlet is used to start access attempt profiling for an application package. The cmdlet both starts an access attempt trace logging session and instruments the application package so it’s able to log to the session.

EXAMPLES

Example 1: Start profiling for application package specified by manifest.

Start-Profiling -ManifestPath C:\Path\To\MyAppXManifest.xml

Example 2: Start profiling for application package specified by package full name.

Start-Profiling -PackageFullName "Contoso.Application_1.0.0.0_neutral__8wekyb3d8bbwe"

PARAMETERS

-ManifestPath

Specifies the path to the manifest file of the application package to be profiled. The package full name will be inferred from the manifest. Supersedes -PackageFullName.

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 to be profiled. 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

-Force

Forces the cmdlet to proceed with profiling without displaying any confirmation prompts. Use this parameter with caution.

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

Stop-Profiling

Get-ProfilingResults

Merge-ProfilingResults

Get-AppxPackage

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