Jump to content

RunAS , SSMS with parameters - (Moved)


Recommended Posts

  • Developers
5 minutes ago, bbsibmkimlik said:

Hello,

I try to  run ssms.exe with different domain user and password, how should i run ssms ? i need help for this issue.

What have you tried?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

That doesn't look like ssms so what exactly are you trying to do and show some real code in stead of an example and on top of that tell us what isn't working!

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

I want to run ssms with diffrent user parameter.

i found this line in forum but , how can i implement for my issue.

RunAs($sUserName, $sDomain, $sPassword, $RUN_LOGON_NOPROFILE, "ssms.exe" ) 

i will take parameters with commanline as  $cmdline[1]

i just want to, run ssms process with diffrent domain user.

how can i run this line.

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...