Closed it-praktyk closed 8 years ago
[PS] >get-psdrive desktop | fl Name : Desktop Description : Provider : Microsoft.PowerShell.Core\FileSystem Root : C:\Users\<USERNAME>\Desktop CurrentLocation : Invoke-Pester -PassThru | [PS] >$results | Format-Pester -Path desktop:\ -BaseFileName nowy2 -Format text,html,word Directory: C:\Users\<USERNAME>\Desktop Mode LastWriteTime Length Name ---- ------------- ------ ---- -a---- 7/16/2016 10:20 PM 10948 nowy2.txt -a---- 7/16/2016 10:20 PM 15564 nowy2.html WARNING: [ 22:20:20:963 ] [ Word ] - Error opening package 'Desktop:\nowy2.docx'. Ensure the file in not in use by another process. Exception calling "Open" with "3" argument(s): "The given path's format is not supported." At C:\Program Files\WindowsPowerShell\Modules\pscribo\0.7.11\Plugins\OutWord.ps1:68 char:13 + $package = [System.IO.Packaging.Package]::Open($destinati ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : NotSupportedException `` Tested with PScribo v. 0.7.10.31 and 0.7.11.0 .
Fixed by #17