Skip to content

Commit 61bbd76

Browse files
committed
Fix formatting
1 parent 6df50fe commit 61bbd76

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docset/winserver2022-ps/appx/Invoke-CommandInDesktopPackage.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ Invoke-CommandInDesktopPackage [-PackageFamilyName] <String> [-AppId] <String> [
2121
```
2222

2323
## DESCRIPTION
24-
**Invoke-CommandInDesktopPackage** creates a new process in the context of the supplied `PackageFamilyName` and `AppId`.
24+
`Invoke-CommandInDesktopPackage` creates a new process in the context of the supplied **PackageFamilyName** and **AppId**.
2525

26-
The created process will have the identity of the provided `AppId` and will have access to its virtualized file system and registry (if any). The new process will have a token that is similar to, but not identical to, a real `AppId` process.
26+
The created process will have the identity of the provided **AppId** and will have access to its virtualized file system and registry (if any). The new process will have a token that is similar to, but not identical to, a real **AppId** process.
2727

2828
The primary use-case of this command is to invoke debugging or troubleshooting tools in the context of the packaged app to easily access its virtualized resources. For example, you can run the Registry Editor to see virtualized registry keys, or Notepad to read virtualized files. See the important note that follows on using tools such as the Registry Editor that require elevation.
2929

30-
No guarantees are made about the behavior of the created process, other than it having the package identity and access to the package's virtualized resources. In particular, the new process will **not** be created in an AppContainer even if an `AppId` process would normally be created in an AppContainer. Features such as Privacy Controls or other App Settings may or may not apply to the new process. You should not rely on any specific side-effects of using this command, as they are undefined and subject to change.
30+
No guarantees are made about the behavior of the created process, other than it having the package identity and access to the package's virtualized resources. In particular, the new process will _not_ be created in an AppContainer even if an **AppId** process would normally be created in an AppContainer. Features such as Privacy Controls or other App Settings may or may not apply to the new process. You should not rely on any specific side-effects of using this command, as they are undefined and subject to change.
3131

3232
## EXAMPLES
3333

@@ -44,7 +44,7 @@ PS C:\> Invoke-CommandInDesktopPackage -AppId "ContosoApp" -PackageFamilyName "C
4444
## PARAMETERS
4545

4646
### -AppId
47-
`AppId` is the Application ID from the target package's manifest.
47+
**AppId** is the Application ID from the target package's manifest.
4848

4949
```XML
5050
<Application Id="MyAppName" ... />
@@ -79,9 +79,9 @@ Accept wildcard characters: False
7979
```
8080
8181
### -Command
82-
An executable to invoke (for example, "regedit.exe").
82+
An executable to invoke (for example, `regedit.exe`).
8383

84-
Note that if the executable requires elevation (like regedit), you **must** call `Invoke-CommandInDesktopPackage` from an already-elevated context. Calling `Invoke-CommandInDesktopPackage` from a non-elevated context will not work as expected: the new process will be created without the package context, and the PowerShell command will fail.
84+
Note that if the executable requires elevation (like `regedit`), you must call `Invoke-CommandInDesktopPackage` from an already-elevated context. Calling `Invoke-CommandInDesktopPackage` from a non-elevated context does not work as expected. The new process is created without the package context, and the PowerShell command fails.
8585

8686
```yaml
8787
Type: String
@@ -111,7 +111,7 @@ Accept wildcard characters: False
111111
```
112112

113113
### -PreventBreakaway
114-
Causes all child processes of the invoked process to also be created in the context of the `AppId`. By default, child processes are created without any context. This switch is useful for running `cmd.exe` so that you can launch multiple other tools in the package context.
114+
Causes all child processes of the invoked process to also be created in the context of the **AppId**. By default, child processes are created without any context. This switch is useful for running `cmd.exe` so that you can launch multiple other tools in the package context.
115115

116116
```yaml
117117
Type: SwitchParameter

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy