Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MIssing functions like "Set-CVSQLInstance" #10

Open
joaval opened this issue Feb 26, 2020 · 1 comment
Open

MIssing functions like "Set-CVSQLInstance" #10

joaval opened this issue Feb 26, 2020 · 1 comment

Comments

@joaval
Copy link

joaval commented Feb 26, 2020

We're using SQL Server agent.
I want to set

  • SQL Server Property (SQL Agent authentication)
    and/or
  • SQL Server:InstanceName (Accounts)

Override Higher Level Settings -> Impersonate User -> User Name = xxxx
Override Higher Level Settings -> Impersonate User -> Password = xxxx

There is the cmdlets 'Get-CVSQLInstance' but no 'Set-CVSQLInstance'
Example:
$sqlallprop = Get-CVSQLInstance -ClientName xxxxxx -AllProperties
$sqlallprop.auth
UseLSA Override credential


 1        0 @{password=; userName=}

$sqlallprop.auth.credential
password userName


If setting in the GUI it might look like:

$sqlallprop.auth.credential
password userName


sjshfshfkhfkhdsfr23498r09faohofhohkjedhy2ewewe he= XXXX\yyyyyyyy

Would like to set username & password perhaps by a Credential object.

Or is there another way to set SQL Server Properties like described.

@JnaneshD05
Copy link
Collaborator

Will check this and get back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants