Skip to content

Fix documentation for BoxstarterConnectionConfig #331

@mdonoughe

Description

@mdonoughe

boxstarter/Web/InstallingPackages.cshtml gives an example of using BoxstarterConnectionConfig:

$cred1=Get-Credential 'MyTargetMachine\myusername'
$cred2=Get-Credential 'Domain\myDomainUser'
$result = (new-Object -TypeName BoxstarterConnectionConfig -ArgumentList machine1,$cred1),`
    (new-Object -TypeName BoxstarterConnectionConfig -ArgumentList machine2,$cred2) |
    Install-BoxstarterPackage -PackageName MyPackage

BoxstarterConnectionConfig actually takes three parameters, and the first parameter is a connection URI (http://machine1:5985/wsman), not a hostname like in the example. If you enter machine1 you get an instant failure connecting to "".

Metadata

Metadata

Assignees

No one assigned

    Labels

    5 - ReleasedThe issue has been resolved, and released to the public for consumption.DocumentationIssues for changes that only need to change documentation.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions