mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-16 02:43:43 +00:00
Delete unused images and update documentation
This commit is contained in:
@ -1,82 +1,81 @@
|
||||
---
|
||||
title: PowerShell cmdlets for provisioning Windows 10/11 (Windows 10/11)
|
||||
description: Learn more about the Windows PowerShell cmdlets that you can use with Provisioning packages on Windows10/11 client desktop devices.
|
||||
ms.topic: article
|
||||
ms.topic: article
|
||||
|
||||
ms.reviewer: gkomatsu
|
||||
ms.date: 12/31/2017
|
||||
---
|
||||
---
|
||||
|
||||
# PowerShell cmdlets for provisioning Windows client (reference)
|
||||
# PowerShell cmdlets for provisioning Windows client (reference)
|
||||
|
||||
Windows client includes Provisioning PowerShell cmdlets. These cmdlets make it easy to script the following functions.
|
||||
Windows client includes Provisioning PowerShell cmdlets. These cmdlets make it easy to script the following functions.
|
||||
|
||||
## cmdlets
|
||||
## cmdlets
|
||||
|
||||
- **Add-ProvisioningPackage**: Applies a provisioning package.
|
||||
- **Add-ProvisioningPackage**: Applies a provisioning package.
|
||||
|
||||
Syntax:
|
||||
Syntax:
|
||||
|
||||
- `Add-ProvisioningPackage [-Path] <string> [-ForceInstall] [-LogsFolder <string>] [-QuietInstall] [-WprpFile <string>] [<CommonParameters>]`
|
||||
- `Add-ProvisioningPackage [-Path] <string> [-ForceInstall] [-LogsFolder <string>] [-QuietInstall] [-WprpFile <string>] [<CommonParameters>]`
|
||||
|
||||
- **Remove-ProvisioningPackage**: Removes a provisioning package.
|
||||
- **Remove-ProvisioningPackage**: Removes a provisioning package.
|
||||
|
||||
Syntax:
|
||||
Syntax:
|
||||
|
||||
- `Remove-ProvisioningPackage -PackageId <string> [-LogsFolder <string>] [-WprpFile <string>] [<CommonParameters>]`
|
||||
- `Remove-ProvisioningPackage -Path <string> [-LogsFolder <string>] [-WprpFile <string>] [<CommonParameters>]`
|
||||
- `Remove-ProvisioningPackage -AllInstalledPackages [-LogsFolder <string>] [-WprpFile <string>] [<CommonParameters>]`
|
||||
- `Remove-ProvisioningPackage -AllInstalledPackages [-LogsFolder <string>] [-WprpFile <string>] [<CommonParameters>]`
|
||||
|
||||
- **Get-ProvisioningPackage**: Gets information about an installed provisioning package.
|
||||
- **Get-ProvisioningPackage**: Gets information about an installed provisioning package.
|
||||
|
||||
Syntax:
|
||||
Syntax:
|
||||
|
||||
- `Get-ProvisioningPackage -PackageId <string> [-LogsFolder <string>] [-WprpFile <string>] [<CommonParameters>]`
|
||||
- `Get-ProvisioningPackage -Path <string> [-LogsFolder <string>] [-WprpFile <string>] [<CommonParameters>]`
|
||||
- `Get-ProvisioningPackage -AllInstalledPackages [-LogsFolder <string>] [-WprpFile <string>] [<CommonParameters>]`
|
||||
- `Get-ProvisioningPackage -AllInstalledPackages [-LogsFolder <string>] [-WprpFile <string>] [<CommonParameters>]`
|
||||
|
||||
- **Export-ProvisioningPackage**: Extracts the contents of a provisioning package.
|
||||
- **Export-ProvisioningPackage**: Extracts the contents of a provisioning package.
|
||||
|
||||
Syntax:
|
||||
Syntax:
|
||||
|
||||
- `Export-ProvisioningPackage -PackageId <string> -OutputFolder <string> [-Overwrite] [-AnswerFileOnly] [-LogsFolder <string>] [-WprpFile <string>] [<CommonParameters>]`
|
||||
- `Export-ProvisioningPackage -Path <string> -OutputFolder <string> [-Overwrite] [-AnswerFileOnly] [-LogsFolder <string>] [-WprpFile <string>] [<CommonParameters>]`
|
||||
- `Export-ProvisioningPackage -Path <string> -OutputFolder <string> [-Overwrite] [-AnswerFileOnly] [-LogsFolder <string>] [-WprpFile <string>] [<CommonParameters>]`
|
||||
|
||||
- **Install-TrustedProvisioningCertificate**: Adds a certificate to the Trusted Certificate store.
|
||||
- **Install-TrustedProvisioningCertificate**: Adds a certificate to the Trusted Certificate store.
|
||||
|
||||
Syntax:
|
||||
Syntax:
|
||||
|
||||
- `Install-TrustedProvisioningCertificate <path to local certificate file on disk>`
|
||||
- `Install-TrustedProvisioningCertificate <path to local certificate file on disk>`
|
||||
|
||||
- **Get-TrustedProvisioningCertificate**: Lists all installed trusted provisioning certificates. Use this cmdlet to get the certificate thumbprint to use with the `Uninstall-TrustedProvisioningCertificate` cmdlet.
|
||||
- **Get-TrustedProvisioningCertificate**: Lists all installed trusted provisioning certificates. Use this cmdlet to get the certificate thumbprint to use with the `Uninstall-TrustedProvisioningCertificate` cmdlet.
|
||||
|
||||
Syntax:
|
||||
Syntax:
|
||||
|
||||
- `Get-TrustedProvisioningCertificate`
|
||||
- `Get-TrustedProvisioningCertificate`
|
||||
|
||||
- **Uninstall-TrustedProvisioningCertificate**: Removes a previously installed provisioning certificate.
|
||||
- **Uninstall-TrustedProvisioningCertificate**: Removes a previously installed provisioning certificate.
|
||||
|
||||
Syntax:
|
||||
Syntax:
|
||||
|
||||
- `Uninstall-TrustedProvisioningCertificate <thumbprint>`
|
||||
- `Uninstall-TrustedProvisioningCertificate <thumbprint>`
|
||||
|
||||
>[!NOTE]
|
||||
> You can use Get-Help to get usage help on any command. For example: `Get-Help Add-ProvisioningPackage`
|
||||
> You can use Get-Help to get usage help on any command. For example: `Get-Help Add-ProvisioningPackage`
|
||||
|
||||
Trace logs are captured when using cmdlets. The following logs are available in the logs folder after the cmdlet completes:
|
||||
Trace logs are captured when using cmdlets. The following logs are available in the logs folder after the cmdlet completes:
|
||||
|
||||
- ProvTrace.<timestamp>.ETL - ETL trace file, unfiltered
|
||||
- ProvTrace.<timestamp>.XML - ETL trace file converted into raw trace events, unfiltered
|
||||
- ProvTrace.<timestamp>.TXT - TEXT file containing trace output formatted for easy reading, filtered to only show events logged by providers in the WPRP file
|
||||
- ProvLogReport.<timestamp>.XLS - Excel file containing trace output, filtered to only show events logged by providers in WPRP file
|
||||
- ProvLogReport.<timestamp>.XLS - Excel file containing trace output, filtered to only show events logged by providers in WPRP file
|
||||
|
||||
|
||||
|
||||
|
||||
>[!NOTE]
|
||||
>When applying provisioning packages using Powershell cmdlets, the default behavior is to suppress the prompt that appears when applying an unsigned provisioning package. This is by design so that provisioning packages can be applied as part of existing scripts.
|
||||
>When applying provisioning packages using Powershell cmdlets, the default behavior is to suppress the prompt that appears when applying an unsigned provisioning package. This is by design so that provisioning packages can be applied as part of existing scripts.
|
||||
|
||||
|
||||
## Related articles
|
||||
## Related articles
|
||||
|
||||
- [How provisioning works in Windows client](provisioning-how-it-works.md)
|
||||
- [Install Windows Configuration Designer](provisioning-install-icd.md)
|
||||
@ -86,5 +85,5 @@ Trace logs are captured when using cmdlets. The following logs are available in
|
||||
- [Provision PCs with common settings for initial deployment (simple provisioning)](provision-pcs-for-initial-deployment.md)
|
||||
- [Use a script to install a desktop app in provisioning packages](provisioning-script-to-install-app.md)
|
||||
- [Windows Configuration Designer command-line interface (reference)](provisioning-command-line.md)
|
||||
- [Create a provisioning package with multivariant settings](provisioning-multivariant.md)
|
||||
- [Create a provisioning package with multivariant settings](provisioning-multivariant.md)
|
||||
|
||||
|
Reference in New Issue
Block a user