invoke-commanddesktoppacakge
1 TopicMSIX Virtual Container Opening Issue with command "Invoke-CommandInDesktopPackage -PackageFamilyName
Hi All, Any Idea why I am not able to open the virtual cmd.exe/regedit.exe/notepad.exe with below command line. Invoke-CommandInDesktopPackage -PackageFamilyName WS-FTP-Professional_cd0wgck2zs9pm -AppId WS-FTP-Professional -Command "cmd.exe" -PreventBreakaway Invoke-CommandInDesktopPackage : System.ArgumentException occurred when attempting to invoke the provided command in desktop package. Run Invoke-CommandInDesktopPackage -? for usage details. Additional detail: Value does not fall within the expected range.At line:1 char:1 + Invoke-CommandInDesktopPackage -PackageFamilyName WS-FTP-Professional ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : NotSpecified: (:) [Invoke-CommandInDesktopPackage], ArgumentException + FullyQualifiedErrorId : System.ArgumentException,Microsoft.Windows.Appx.PackageCommands.InvokeCommandInDesktopPackageSolved1.7KViews0likes2Comments