This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| param ( | |
| [Parameter()] | |
| [ValidateSet('VMM','OM','DPM','SCORH','SM','All')] | |
| [String] $Component = 'All', | |
| [Parameter()] | |
| [String] $Destination = $env:TEMP | |
| ) | |
| Begin { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #requires -version 5.0 | |
| Function Compare-Module { | |
| <# | |
| .Synopsis | |
| Compare module versions. | |
| .Description | |
| Use this command to compare module versions between what is installed against an online repository like the PSGallery. Results will be automatically sorted by module name. | |
| .Parameter Name | |
| The name of a module to check. Wildcards are permitted. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| configuration IISInstall | |
| { | |
| node "localhost" | |
| { | |
| WindowsFeature IIS | |
| { | |
| Ensure = "Present" | |
| Name = "Web-Server" | |
| } | |
| } |