Jump to content
Updated Privacy Statement
  • 0

publish application and run as


Question

5 answers to this question

Recommended Posts

  • 0

@Sean

 

Just what I was looking for, except it didn't handle spaces in the argument list.  I was trying to launch the Exchange Management Console.msc  My final working fix was:

 

Start-Process -FilePath "C:\Windows\System32\mmc.exe" -Credential (Get-Credential) -ArgumentList '"C:\Program Files\Microsoft\Exchange Server\V14\Bin\Exchange Management Console.msc"'

 

Note the double quotes are embedded in single quotes for the argument list.  Also, I am using Powershell 4.

Link to comment
  • 0

How did you get past the Get-Credential prompt?  I am trying to launch a published app the uses Get-Credential, and the GUI pop-up for Get-Credential never shows up In the seamless application window (it acts almost like a UAC prompt).  If I go full screen, then I see it.  But in the seamless mode, I get nothing.

 

Thanks

NK

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...