0 votes

Hello Support,

is it possible to start this invoke command in adaxes?

Invoke-Sqlcmd -ServerInstance "SQL" -database "DB" -Query "EXEC dbo.Adaxes"

Didnt find a solution in this forum.

Thank you and regards

Massimo

by (450 points)

1 Answer

0 votes
by (289k points)
selected by
Best answer

Hello Massimo,

To use the cmdlet, you need to run your script in a new PowerShell instance. For details, have a look at the Using Invoke-Command script from the following article in our script repository: http://www.adaxes.com/script-repository ... e-s290.htm.

Related questions

0 votes
1 answer

Hi Everyone We have 3 Adaxes services set up around the globe and followed the MS SQL replication how-to (https://www.adaxes.com/help/EnableDatabaseReplication/) to then ... use their local SQL server and make use of the SQL replication setup? Thanks, Felix

asked Jul 24 by felix (150 points)
0 votes
1 answer

Short question: I have a Powershell script that is generating some information and saving it to a SQL table. Is there some way to save that information into a field in AD ... using Adaxes, but I don't know how to go the opposite way basically. Thanks!

asked Mar 12 by cstaub (100 points)
0 votes
1 answer

Hi All, I am currently using the 30 day free trial of Adaxes and seeing if we can use it to achieve our method of user provisioning. I am looking into server-side ... variable value within an SQL query Can this be achieved? Any help is much appreciated, Thanks

asked Feb 1 by Lewis (40 points)
0 votes
1 answer

We will be migrating from the default logging in the SQL Express database to a fully licenses MS SQL Server database. We would like for the existing logs to be ported over as well.

asked Dec 28, 2022 by bsteele (90 points)
0 votes
1 answer

Dear colleagues, can you please advise if it is possible to create (and update reqularly) business unit of computer objects based on a query to external SQL DB (hostnames stored in SQL)? Thanks!

asked Dec 14, 2022 by Dmytro.Rudyi (920 points)
3,552 questions
3,242 answers
8,243 comments
547,828 users