Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help: Help examples of Install-Lab is wrong #348

Open
DennisL68 opened this issue Mar 31, 2020 · 0 comments
Open

Help: Help examples of Install-Lab is wrong #348

DennisL68 opened this issue Mar 31, 2020 · 0 comments

Comments

@DennisL68
Copy link

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant