mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-15 23:07:23 +00:00
Update code-integrity-policy-commands.md
This commit is contained in:
parent
5e833309c0
commit
1c0742872c
@ -3,7 +3,7 @@ title: CI Policy, Token, and Miscellaneous Commands
|
|||||||
description: Learn how to use Policy Commands, Token Commands, and Miscellaneous Commands.
|
description: Learn how to use Policy Commands, Token Commands, and Miscellaneous Commands.
|
||||||
author: valemieux
|
author: valemieux
|
||||||
ms.author: v-alemieux
|
ms.author: v-alemieux
|
||||||
ms.service: WDAC
|
ms.service: security
|
||||||
ms.topic: how-to
|
ms.topic: how-to
|
||||||
ms.date: 08/07/2022
|
ms.date: 08/07/2022
|
||||||
ms.custom: template-how-to
|
ms.custom: template-how-to
|
||||||
@ -15,46 +15,32 @@ Generates Policy Commands, Token Commands, and Miscellaneous Commands for user m
|
|||||||
|
|
||||||
## Policy Commands
|
## Policy Commands
|
||||||
|
|
||||||
| Command:|--update-policy /Path/To/Policy/File |
|
| Command | Description | Alias |
|
||||||
| Description: | Add or update a policy on the current system |
|
| | | |
|
||||||
| Alias: | -up |
|
|--------|---------|---------|
|
||||||
|
|--update-policy /Path/To/Policy/File | Add or update a policy on the current system | -up |
|
||||||
| Command:|--remove-policy PolicyGUID |
|
| --remove-policy PolicyGUID | Remove a policy indicated by PolicyGUID from the system | -rp |
|
||||||
| Description: | Remove a policy indicated by PolicyGUID from the system |
|
| --list-policies | Dump information about all policies on the system, whether they be active or not | -lp |
|
||||||
| Alias: | -rp |
|
|
||||||
|
|
||||||
| Command:|--list-policies |
|
|
||||||
| Description: | Dump information about all policies on the system, whether they be active or not |
|
|
||||||
| Alias: | -lp |
|
|
||||||
|
|
||||||
## Token Commands
|
## Token Commands
|
||||||
|
|
||||||
| Command:|--add-token Path/To/Token/File [--token-id ID] |
|
| Command | Description | Alias |
|
||||||
| Description: | Deploy a token onto the current system, with an optional specific ID. |
|
| | | |
|
||||||
| Alias: | -at |
|
|--------|---------|---------|
|
||||||
>[!NOTE] If [ID] is specified, a pre-existing token with [ID] should not exist.
|
|--add-token Path/To/Token/File [--token-id ID] | Deploy a token onto the current system, with an optional specific ID. | -at |
|
||||||
|
|--remove-token ID | Remove a Token indicated by ID from the system. | -rt |
|
||||||
|
|--list-tokens | Dump information about all tokens on the system | -lt |
|
||||||
|
|
||||||
| Command:|--remove-token ID |
|
>[!NOTE] Regarding --add-token, if <[ID]> is specified, a pre-existing token with [ID] should not exist.
|
||||||
| Description: | Remove a Token indicated by ID from the system. |
|
|
||||||
| Alias: | -rt |
|
|
||||||
|
|
||||||
| Command:|--list-tokens |
|
|
||||||
| Description: | Dump information about all tokens on the system |
|
|
||||||
| Alias: | -lt |
|
|
||||||
|
|
||||||
## Miscellaneous Commands
|
## Miscellaneous Commands
|
||||||
|
|
||||||
| Command:|--device-id |
|
| Command | Description | Alias |
|
||||||
| Description: | Dump the Code Integrity Device Id |
|
| | | |
|
||||||
| Alias: | -id |
|
|--------|---------|---------|
|
||||||
|
|--device-id | Dump the Code Integrity Device ID | -id |
|
||||||
| Command:|--refresh |
|
|--refresh | Attempt to Refresh CI Policies | -r |
|
||||||
| Description: | Attempt to Refresh CI Policies |
|
|--help | Display help | -h |
|
||||||
| Alias: | -r |
|
|
||||||
|
|
||||||
| Command:|--help |
|
|
||||||
| Description: | Display help |
|
|
||||||
| Alias: | -h |
|
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user