I installed New-UDGridLayout from the Market Place, then placed the following at the top of my dashboard:
Import-Module UniversalDashboard.GridLayout
However, I am getting an error saying that it cannot import the module:
Jul 2, 2021 6:14 PM Startup: The specified module 'UniversalDashboard.GridLayout' was not loaded because no valid module file was found in any module directory.
The term 'New-UDGridLayout' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Also, my log is spewing tons of errors along with errors on my form that was not there in a previous version: @Support - Let me know if I need to put a separate post in for the errors below:
Jul 2, 2021 6:14 PM An error occurred: The WriteObject and WriteError methods cannot be called from outside the overrides of the BeginProcessing, ProcessRecord, and EndProcessing methods, and they can only be called from within the same thread. Validate that the cmdlet makes these calls correctly, or contact Microsoft Customer Support Services.
Endpoint: dc0b16f8-ac35-45dd-95ce-3a1fce0f036a
Session: bacb1658-1d3c-4052-b352-5ba95e2d565b
File:
Endpoint Start Line: 3
Endpoint End Line: 36
Stack Trace: at <ScriptBlock>, <No file>: line 20
Jul 2, 2021 6:14 PM An error occurred: Cannot bind argument to parameter 'Data' because it is null.
Endpoint: dc0b16f8-ac35-45dd-95ce-3a1fce0f036a
Session: bacb1658-1d3c-4052-b352-5ba95e2d565b
File:
Endpoint Start Line: 3
Endpoint End Line: 36
Stack Trace: at <ScriptBlock>, <No file>: line 33
Jul 2, 2021 6:14 PM An error occurred: The WriteObject and WriteError methods cannot be called from outside the overrides of the BeginProcessing, ProcessRecord, and EndProcessing methods, and they can only be called from within the same thread. Validate that the cmdlet makes these calls correctly, or contact Microsoft Customer Support Services.
Endpoint: 274b9477-8d43-4ce0-8ede-5a5ecf69f8e8
Session: da5e917c-fa90-420f-a365-57ce9a68ce54
File: C:\ProgramData\UniversalAutomation\Repository\NoOffersDB.ps1
Endpoint Start Line: 164
Endpoint End Line: 287
Stack Trace: at <ScriptBlock>, <No file>: line 20
Jul 2, 2021 6:14 PM An error occurred: The WriteObject and WriteError methods cannot be called from outside the overrides of the BeginProcessing, ProcessRecord, and EndProcessing methods, and they can only be called from within the same thread. Validate that the cmdlet makes these calls correctly, or contact Microsoft Customer Support Services.
Endpoint: 274b9477-8d43-4ce0-8ede-5a5ecf69f8e8
Session: 55dd220e-5059-4d72-b059-3163986d3b90
File: C:\ProgramData\UniversalAutomation\Repository\NoOffersDB.ps1
Endpoint Start Line: 164
Endpoint End Line: 287
Stack Trace: at <ScriptBlock>, <No file>: line 4
Jul 2, 2021 6:14 PM An error occurred: Cannot bind parameter 'Date' to the target. Exception setting "Date": "Cannot convert null to type "System.DateTime"."
Endpoint: 63dc9018-8349-4a27-8926-050eaee010ffvalidate
Session: 55dd220e-5059-4d72-b059-3163986d3b90
File:
Endpoint Start Line: 37
Endpoint End Line: 51
Stack Trace: at <ScriptBlock>, <No file>: line 4
Jul 2, 2021 6:14 PM An error occurred: Cannot bind parameter 'Date' to the target. Exception setting "Date": "Cannot convert null to type "System.DateTime"."
Endpoint: 63dc9018-8349-4a27-8926-050eaee010ffvalidate
Session: 55dd220e-5059-4d72-b059-3163986d3b90
File:
Endpoint Start Line: 37
Endpoint End Line: 51
Stack Trace: at <ScriptBlock>, <No file>: line 5
Jul 2, 2021 6:14 PM An error occurred: Cannot bind parameter 'Date' to the target. Exception setting "Date": "Cannot convert null to type "System.DateTime"."
Endpoint: 63dc9018-8349-4a27-8926-050eaee010ffvalidate
Session: 55dd220e-5059-4d72-b059-3163986d3b90
File:
Endpoint Start Line: 37
Endpoint End Line: 51
Stack Trace: at <ScriptBlock>, <No file>: line 4
Jul 2, 2021 6:14 PM An error occurred: Cannot bind parameter 'Date' to the target. Exception setting "Date": "Cannot convert null to type "System.DateTime"."
Endpoint: 63dc9018-8349-4a27-8926-050eaee010ffvalidate
Session: 55dd220e-5059-4d72-b059-3163986d3b90
File:
Endpoint Start Line: 37
Endpoint End Line: 51
Stack Trace: at <ScriptBlock>, <No file>: line 5
Jul 2, 2021 6:14 PM An error occurred: Cannot bind parameter 'Date' to the target. Exception setting "Date": "Cannot convert null to type "System.DateTime"."
Endpoint: d3c20450-f4c0-4f5d-9509-8061e71ee267validate
Session: da5e917c-fa90-420f-a365-57ce9a68ce54
File:
Endpoint Start Line: 37
Endpoint End Line: 51
Stack Trace: at <ScriptBlock>, <No file>: line 4
Jul 2, 2021 6:14 PM An error occurred: Cannot bind parameter 'Date' to the target. Exception setting "Date": "Cannot convert null to type "System.DateTime"."
Endpoint: d3c20450-f4c0-4f5d-9509-8061e71ee267validate
Session: da5e917c-fa90-420f-a365-57ce9a68ce54
File:
Endpoint Start Line: 37
Endpoint End Line: 51
Stack Trace: at <ScriptBlock>, <No file>: line 5
Jul 2, 2021 6:14 PM An error occurred: Cannot bind parameter 'Date' to the target. Exception setting "Date": "Cannot convert null to type "System.DateTime"."
Endpoint: d3c20450-f4c0-4f5d-9509-8061e71ee267validate
Session: da5e917c-fa90-420f-a365-57ce9a68ce54
File:
Endpoint Start Line: 37
Endpoint End Line: 51
Stack Trace: at <ScriptBlock>, <No file>: line 4
Jul 2, 2021 6:14 PM An error occurred: Cannot bind parameter 'Date' to the target. Exception setting "Date": "Cannot convert null to type "System.DateTime"."
Endpoint: d3c20450-f4c0-4f5d-9509-8061e71ee267validate
Session: da5e917c-fa90-420f-a365-57ce9a68ce54
File:
Endpoint Start Line: 37
Endpoint End Line: 51
Stack Trace: at <ScriptBlock>, <No file>: line 5
Jul 2, 2021 6:14 PM An error occurred: Cannot bind parameter 'Date' to the target. Exception setting "Date": "Cannot convert null to type "System.DateTime"."
Endpoint: d60b13f0-ad3b-4ce1-a795-3935dfac4cc3validate
Session: da5e917c-fa90-420f-a365-57ce9a68ce54
File:
Endpoint Start Line: 37
Endpoint End Line: 51
Stack Trace: at <ScriptBlock>, <No file>: line 4
Jul 2, 2021 6:14 PM An error occurred: Cannot bind parameter 'Date' to the target. Exception setting "Date": "Cannot convert null to type "System.DateTime"."
Endpoint: d60b13f0-ad3b-4ce1-a795-3935dfac4cc3validate
Session: da5e917c-fa90-420f-a365-57ce9a68ce54
File:
Endpoint Start Line: 37
Endpoint End Line: 51
Stack Trace: at <ScriptBlock>, <No file>: line 5
Jul 2, 2021 6:14 PM An error occurred: Cannot bind parameter 'Date' to the target. Exception setting "Date": "Cannot convert null to type "System.DateTime"."
Endpoint: d60b13f0-ad3b-4ce1-a795-3935dfac4cc3validate
Session: da5e917c-fa90-420f-a365-57ce9a68ce54
File:
Endpoint Start Line: 37
Endpoint End Line: 51
Stack Trace: at <ScriptBlock>, <No file>: line 4
Jul 2, 2021 6:14 PM An error occurred: Cannot bind parameter 'Date' to the target. Exception setting "Date": "Cannot convert null to type "System.DateTime"."
Endpoint: d60b13f0-ad3b-4ce1-a795-3935dfac4cc3validate
Session: da5e917c-fa90-420f-a365-57ce9a68ce54
File:
Endpoint Start Line: 37
Endpoint End Line: 51
Stack Trace: at <ScriptBlock>, <No file>: line 5
- This shows up on the actual dashboard:
Cannot bind parameter 'Date' to the target. Exception setting "Date": "Cannot convert null to type "System.DateTime"."
Thank you!
Product: PowerShell Universal
Version: 2.1.1