System.IO.DirectoryInfo

How to locate where this error is coming from? It pops up when a form is done subiting.

"One or more errors occurred

Unable to serialize instance of ‘System.IO.DirectoryInfo’."

Are you creating an directories with New-Item in the script? It seems like a DirectoryInfo object is being returned to the pipeline and it may be causing an issue with serialization.

Thanks Adam. That was exactly what was wrong. Thanks for your dedication for the product and the community! :heart_eyes:

1 Like