Files
PowerShell-PSDscResources/Examples/Sample_MsiPackage_InstallPackageFromHttp.ps1
Mariah Breakey 8303c0e7fc adding msiPackage
2017-04-19 13:42:53 -07:00

24 lines
741 B
PowerShell

<#
.SYNOPSIS
Installs the MSI file with the product ID: '{DEADBEEF-80C6-41E6-A1B9-8BDB8A05027F}'
at the path: 'http://Examples/example.msi'.
Note that the MSI file with the given product ID must already exist on the server.
The product ID and path value in this file are provided for example purposes only and will
need to be replaced with valid values.
#>
Configuration Sample_MsiPackage_InstallPackageFromHttp
{
Import-DscResource -ModuleName 'PSDscResources'
Node localhost
{
MsiPackage MsiPackage1
{
ProductId = '{DEADBEEF-80C6-41E6-A1B9-8BDB8A05027F}'
Path = 'http://Examples/example.msi'
Ensure = 'Present'
}
}
}