TheJumpCloud / jumpcloud-dashboard

MIT License
3 stars 1 forks source link

Cannot bind argument to parameter 'Path' because it is an empty string. #41

Open mgehanne opened 4 years ago

mgehanne commented 4 years ago

When running the dashboard, I get the following error:

New-UDPage : Exception calling "Parse" with "1" argument(s): "String was not recognized as a valid DateTime."
At C:\Users\pix4d\Documents\WindowsPowerShell\Modules\JumpCloud.Dashboard\1.2.2\Private\UDPages\Default\2Get-UDSystems.ps1:14 char:15
+ ...   $UDPage = New-UDPage -Name:($PageName) -AutoRefresh -RefreshInterva ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : SyntaxError: (UniversalDashboard.Models.Page:Page) [New-UDPage], CmdletInvocationException
    + FullyQualifiedErrorId : UniversalDashboard.Cmdlets.NewPageCommand

I'm on Windows 10 with PS version 5.1.18362.628 and module version 1.2.2, the locale is Swiss-French.

jworkmanjc commented 3 years ago

@mgehanne, a fix for this issue is implemented in the JumpCloud PowerShell Module: v1.18.1. Apologies for the delay.