Hi
So i am trying to create an installer that utilizes an existing sql server, the customer enters the sql details into the SQLServerConnectionDlg and this is then written into a web.config via a xml transform
eg - Server=[SERVER_PROP];User Id=[USERNAME_PROP];Password=[PASSWORD_PROP];Database=[DATABASE_PROP];
all working nicely but
What i then need to do is run some powershell code against the same db using an inline powershell script i can do this but only by hard coding the db details
How do i pull the db connection string into the powershell like i do for the xml transform ?
Thanks
James
FOLLOW US
Get the latest news in Application Packaging