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 .SYNOPSIS
Outputs all package names for one or multiple Chocolatey sources. Outputs all package names for one or multiple Chocolatey sources.
.EXAMPLE .EXAMPLE
Get-ChocoSourcePackages -Sources repo1,repo2 Get-ChocoSourcePackages -Sources repo1,repo2
#> #>
function Get-ChocoSourcePackages {
[CmdletBinding()] [CmdletBinding()]
param( param(
[Parameter(Mandatory=$true)] [Parameter(Mandatory=$true)]

View File

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

View File

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