PowerShellOrg / tug

Open-source, cross-platform Pull/Reporting Server for DSC
Other
162 stars 27 forks source link

Issues Loading BasicTugCmdLets.ps1 #92

Open SinnGit opened 6 years ago

SinnGit commented 6 years ago

I've got the PS5 bundle of tug installed and configured in my environment. I used the instructions in #89 to configure Tug to run in IIS.

Tug server versions as follows PS Version: Major Minor Build Revision 5 1 14393 2430

.net 4.5.2

WMF 5.1

Tug version v0.6.0

I'm unable to run any of the basic tug cmdlets, if I execute BasicTugCmdLets.ps1 to load the various functions I receive the following errors. Seems like I am missing something pretty basic but I've been spinning my wheels trying to figure out how to load these functions so I can begin to register systems with the Tug server.


You cannot call a method on a null-valued expression. At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:25 char:1

You cannot call a method on a null-valued expression. At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:26 char:1

You cannot call a method on a null-valued expression. At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:27 char:1

Cannot index into a null array. At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:30 char:1

Cannot index into a null array. At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:32 char:1

Cannot index into a null array. At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:34 char:1

Cannot index into a null array. At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:36 char:1

You cannot call a method on a null-valued expression. At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:40 char:1

You cannot call a method on a null-valued expression. At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:41 char:1

You cannot call a method on a null-valued expression. At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:42 char:1

You cannot call a method on a null-valued expression. At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:43 char:1

You cannot call a method on a null-valued expression. At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:44 char:1

Test-Path : Cannot bind argument to parameter 'Path' because it is null. At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:47 char:23

Test-Path : Cannot bind argument to parameter 'Path' because it is null. At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:50 char:23

Test-Path : Cannot bind argument to parameter 'Path' because it is null. At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:53 char:23

Test-Path : Cannot bind argument to parameter 'Path' because it is null. At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:56 char:23

All BASIC Tug Cmdlets are defined