LabBuilder icon indicating copy to clipboard operation
LabBuilder copied to clipboard

Help: Help examples of Install-Lab is wrong

Open DennisL68 opened this issue 4 years ago • 0 comments

Verison of PowerShell: 
$PSVersionTable.PSVersion

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      17763  1007

PowerShell host:
Console

Operating system:
Get-CimInstance Win32_OperatingSystem | Select-Object Caption, Version, ServicePackMajorVersion, OSArchitecture, WindowsDirectory


Caption                 : Microsoft Windows Server 2019 Standard
Version                 : 10.0.17763
ServicePackMajorVersion : 0
OSArchitecture          : 64-bit
WindowsDirectory        : C:\Windows


Version of LabBuilder:
PS C:\Windows\system32> Get-Module -Name LabBuilder -ListAvailable


    Directory: C:\Program Files\WindowsPowerShell\Modules


ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Script     1.0.5.105  LabBuilder                          {Get-LabResourceModule, Initialize-LabResourceModule, Get-...

Displaying examples shows the output misaligned and using wrong params.

help New-Lab -Examples

NAME
    New-Lab

SYNOPSIS
    Creates a new Lab Builder Configuration file and Lab folder.


    -------------------------- EXAMPLE 1 --------------------------

    $MyLab = New-Lab `

    -ConfigPath c:\MyLab\LabConfig1.xml `     -LabPath c:\MyLab `     -LabName 'MyLab' `     -LabVersion '1.2' Creates
    a new Lab Configration file LabConfig1.xml and also a Lab folder c:\MyLab and populates it with default DSCLibrary
    file and supporting folders.

DennisL68 avatar Mar 31 '20 16:03 DennisL68