Why using `Console` APIs? I would expect logging to files or if you will use PowerShell console then it'd be bettwe to use `WriteObject`