Fixed help formatted

This commit is contained in:
Dan Franciscus
2019-07-10 11:36:48 -04:00
parent 59cf4a3d7d
commit 49fd126fe6
3 changed files with 7 additions and 4 deletions

View File

@@ -1,10 +1,11 @@
function Get-ChocoSourcePackages {
<#
.SYNOPSIS
Outputs all package names for one or multiple Chocolatey sources.
.EXAMPLE
Get-ChocoSourcePackages -Sources repo1,repo2
#>
function Get-ChocoSourcePackages {
[CmdletBinding()]
param(
[Parameter(Mandatory=$true)]

View File

@@ -1,8 +1,9 @@
Function Invoke-RebootPrompt {
<#
.SYNOPSIS
Used in Start-ChocoRemotemgmt to prompt if a user wants to reboot a computer.
#>
Function Invoke-RebootPrompt {
param(
$Message = "Click OK to reboot",
$Title = "Continue or Cancel"

View File

@@ -1,4 +1,6 @@
#requires -modules Invoke-CommandAs
function Start-ChocoRemoteMgmt {
<#
.SYNOPSIS
Starts a Winforms GUI for remote management of Chocolatey clients.
@@ -8,7 +10,6 @@
Start-ChocoRemotemgmt -ComputerName (Get-ADComputer -Filter | Select-Object -ExpandProperty Name) -Packages (Get-ChocoSourcePackages -Sources repo1,repo2)
#>
function Start-ChocoRemoteMgmt {
[CmdletBinding()]
param (
[Parameter(Mandatory=$true)]