Scripts/Get-PSWSUSCommand.ps1

function Get-PSWSUSCommand {
    <#
    .SYNOPSIS
        Lists all WSUS functions available from this module.
    .DESCRIPTION
        Lists all WSUS functions available from this module.
    .NOTES
        Name: Get-PSWSUSCommand
        Author: Boe Prox
        DateCreated: 18Oct2010
                
    .LINK
        https://learn-powershell.net
    .EXAMPLE
    Get-PSWSUSCommands
 
    Description
    -----------
    This command lists all of the available WSUS commands in the module.
    #>
 
    [cmdletbinding()]  
    Param () 

    #List all WSUS functions available
    Get-Command -Module PoshWSUS
}