Fixed help formatted
This commit is contained in:
@@ -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)]
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user