MSEndpointMgr / IntuneWin32App

Provides a set of functions to manage all aspects of Win32 apps in Microsoft Intune.
MIT License
345 stars 88 forks source link

Get-IntuneWin32AppMetaData : Cannot validate argument on parameter 'FilePath'. The argument 7z1900-x64.intunewin" does not match the "^[A-Za-z]{1}:\\w+\\w+" pattern. #1

Closed bickyz closed 4 years ago

bickyz commented 4 years ago

When running New-IntuneWin32AppPackage -SourceFolder $SourceFolder -SetupFile $SetupFile -OutputFolder $OutputFolder -Verbose

it throws following error. Get-IntuneWin32AppMetaData : Cannot validate argument on parameter 'FilePath'. The argument "D:_Intune-Win32App\7-Zip\7z1900-x64.intunewin" does not match the "^[A-Za-z]{1}:\\w+\\w+" pattern. Supply an argument that matches "^[A-Za-z]{1}:\\w+\\w+" and try the command again. At C:\Program Files\WindowsPowerShell\Modules\IntuneWin32App\1.1.1\IntuneWin32App.psm1:277 char:94

github-10jun20-01

NickolajA commented 4 years ago

Thanks for reporting. This has been resolved and will be available in the next release, 1.2.0 that's about to be released.

bickyz commented 4 years ago

Hi, do you have release date for 1.2.0 ?