i get the error âUnable to serialize instance of âSystem.IO.DirectoryInfoâ.â after clicking submit in a user interface app. How do i get rid of this and see a more user friendly message after they click submit?
Product: PowerShell Universal Version: 4.2.14
seems like its when itâs creating a non-existing folder. i tried using new item and the .NET method and both cause the error