Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
configuration Present
{
$uri46 = "http://go.microsoft.com/fwlink/?LinkId=528222";
$folder = "c:\Test";
$path = Join-Path $folder "NDP46-KB3045560-Web.exe";
Import-DscResource -ModuleName GraniResource
cDownload hoge
{
Uri = $uri46
DestinationPath = $path
}
cDotNetFramework hoge
{
KB = "KB3045563"
InstallerPath = $path
Ensure = "Present"
NoRestart = $true
LogPath = "C:\Test\Present.log"
DependsOn = "[cDownload]hoge"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.