Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mkht/DSCR_AppxPackage
PowerShell DSC Resource to manage UWP App Packages
https://github.com/mkht/DSCR_AppxPackage
Last synced: 3 months ago
JSON representation
PowerShell DSC Resource to manage UWP App Packages
- Host: GitHub
- URL: https://github.com/mkht/DSCR_AppxPackage
- Owner: mkht
- License: mit
- Created: 2017-10-06T19:16:39.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-10-27T05:57:35.000Z (about 1 year ago)
- Last Synced: 2024-07-09T16:05:53.231Z (4 months ago)
- Language: PowerShell
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - mkht/DSCR_AppxPackage - PowerShell DSC Resource to manage UWP App Packages (PowerShell)
README
DSCR_AppxPackage
====PowerShell DSC Resource to manage UWP App Packages
## Install
You can install Resource through [PowerShell Gallery](https://www.powershellgallery.com/packages/DSCR_AppxPackage/).
```PowerShell
Install-Module -Name DSCR_AppxPackage
```
----
## DSC Resources
* **cAppxPackage**
For add / remove UWP Apps package to a user account.
This is a wrapper resource of `Add-AppxPackage` and `Remove-AppxPackage` cmdlets.* **cAppxPackageSet**
For remove multiple UWP Apps package to a user account at once.* **cAppxProvisionedPackage**
For add / remove UWP Apps package to a computer.
( Provisioned apps will install for each new user to logon Windows. )
This is a wrapper resource of `Add-AppxProvisionedPackage` and `Remove-AppxProvisionedPackage` cmdlets.* **cAppxProvisionedPackageSet**
For remove multiple UWP Apps package to a computer at once.## Properties
### cAppxPackage
+ [string] **Ensure** (Write):
+ Specifies whether or not the App should be installed or not.
+ The default value is `Present` { `Present` | `Absent` }+ [string] **Name** (Key):
+ Specifies the Name of the App.
+ The param is used to determine the App is installed or not.
+ The Name is searched forward match.+ [string] **PackagePath** (Write):
+ Specifies the file path of the app package. An app package has an `.appx` or `.appxbundle` extension.+ [string[]] **DependencyPath** (Write):
+ Specifies an array of file paths of dependency packages that are required for the installation of the app package.+ [Boolean] **Register** (Write):
+ Indicates that this resource registers an existing app package installation that has been disabled, did not register, or has become corrupted.
+ The default value is `$false`+ [PSCredential] **PsDscRunAsCredential** (Required):
+ The credential for a user that will add /remove the App.### cAppxPackageSet
+ [string] **Ensure** (Write):
+ You should specify `Absent`+ [string[]] **Name** (Key):
+ Specifies Names of Apps.
+ The param is used to determine Apps are installed or not.### cAppxProvisionedPackage
+ [string] **Ensure** (Write):
+ Specifies whether or not the App should be installed or not.
+ The default value is `Present` { `Present` | `Absent` }+ [string] **PackageName** (Key):
+ Specifies the Name of the App.
+ The param is used to determine the App is installed or not.
+ The Name is searched forward match.+ [string] **PackagePath** (Write):
+ Specifies the file path of the app package. An app package has an `.appx` or `.appxbundle` extension.+ [string[]] **DependencyPackagePath** (Write):
+ Specifies an array of file paths of dependency packages that are required for the installation of the app package.+ [string] **LicensePath** (Write):
+ Specifies the location of the `.xml` file containing your application license.+ [bool] **AllUsers** (Write):
+ Execute the command to all users. This property only affects when the Ensure is `Absent`. The default value is `$false`.### cAppxProvisionedPackageSet
+ [string] **Ensure** (Write):
+ You should specify `Absent`+ [string[]] **PackageName** (Key):
+ Specifies Names of Apps.
+ The param is used to determine Apps are installed or not.+ [bool] **AllUsers** (Write):
+ Execute the command to all users. The default value is `$false`.----
## Examples
Please look in the [Sample](https://github.com/mkht/DSCR_AppxPackage/tree/master/Sample) directory.----
## ChangeLog
### 0.4.0
+ Add `AllUsers` property to `cAppxProvisionedPackage` and `cAppxProvisionedPackageSet`.### 0.3.0
+ Add `cAppxPackageSet` resource.
+ Add `cAppxProvisionedPackageSet` resource.### 0.2.1
+ Initial public release.