dfinke / PowerShellHumanizer

PowerShell Humanizer wraps Humanizer: meets all your .NET needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities
Apache License 2.0
120 stars 18 forks source link

Unexpected token 'MyDocuments')) -ChildPath WindowsPowerShell\Modules in install.ps1 #1

Closed cdhunt closed 10 years ago

cdhunt commented 10 years ago
Invoke-Expression : At line:22 char:71
+     $personalModules = Join-Path -Path
([Environment]::GetFolderPath('MyDocument ...
+
~~~~~~~~~~
Unexpected token 'MyDocuments')) -ChildPath WindowsPowerShell\Modules
    if (($env:PSModulePath -split '' in expression or statement.
At line:23 char:37
+     if (($env:PSModulePath -split ';') -notcontains $personalModules)
+                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The string is missing the terminator: '.
At line:46 char:2
+
Missing closing ')' in subexpression.
At line:1 char:1
+ iex (new-object
System.Net.WebClient).DownloadString('https://raw.github.com/dfi ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
    + CategoryInfo          : ParserError: (:) [Invoke-Expression], ParseExcep
   tion
    + FullyQualifiedErrorId : UnexpectedToken,Microsoft.PowerShell.Commands.In
   vokeExpressionCommand