mirror of
https://github.com/PowerShell/PSDscResources
synced 2026-06-21 13:45:29 +00:00
2a7b5eef2b
This reverts commit 590a77441f.
18 lines
555 B
PowerShell
18 lines
555 B
PowerShell
<#
|
|
.SYNOPSIS
|
|
Enables the Windows optional features MicrosoftWindowsPowerShellV2 and
|
|
Internet-Explorer-Optional-amd64 and outputs a log of the operations to a file at the path
|
|
'C:\LogPath\Log.txt'.
|
|
#>
|
|
Configuration WindowsOptionalFeatureSet_Enable
|
|
{
|
|
Import-DscResource -ModuleName 'PSDscResources'
|
|
|
|
WindowsOptionalFeatureSet WindowsOptionalFeatureSet1
|
|
{
|
|
Name = @('MicrosoftWindowsPowerShellV2', 'Internet-Explorer-Optional-amd64')
|
|
Ensure = 'Present'
|
|
LogPath = 'C:\LogPath\Log.txt'
|
|
}
|
|
}
|