Comments for dbatools https://dbatools.io/ the community's sql powershell module Tue, 09 Jun 2020 10:39:22 +0000 hourly 1 https://wordpress.org/?v=5.3.4 Comment on managing central management server by Chrissy LeMaire https://dbatools.io/cms/#comment-80837 Tue, 09 Jun 2020 10:39:22 +0000 https://dbatools.io/?p=7887#comment-80837 No not that I know of. I don’t think any of the developers use MSX, sorry

]]>
Comment on managing central management server by Al https://dbatools.io/cms/#comment-80831 Mon, 08 Jun 2020 18:01:42 +0000 https://dbatools.io/?p=7887#comment-80831 Hey Chrissy,

Is there a dbaTools command that you are familiar with that will add new target to the SQL Server Agent (MSX)? I tried looking for their docs and couldn’t find one.

]]>
Comment on dbatools and docker by Swarn Singh https://dbatools.io/docker#comment-80827 Mon, 08 Jun 2020 02:18:42 +0000 https://dbatools.io/?p=9443#comment-80827 Hi Chrissy, facing following issue on commands “New-DbaAvailabilityGroup @params”

error message start…

WARNING: [13:05:48][New-DbaAvailabilityGroup] Failure | Cannot join availability group ‘test-ag’. Download configuration timeout.
Please check primary configuration, network connectivity and firewall setup, then retry the operation.

Failed to join local availability replica to availability group ‘test-ag’. The operation encountered SQL Server error 47106 and has been rolled back.

error message end

Also noticed shouldn’t be Primary =”localhost:1433″? as “# setup a powershell splat” code works and failed without “:1433”

setup a powershell splat

$params = @{
Primary = “localhost”

]]>
Comment on new release – schwifty – all about SPNs by Mo R https://dbatools.io/schwifty/#comment-80785 Thu, 28 May 2020 18:52:02 +0000 https://dbatools.io/?p=2761#comment-80785 Glad to see someone else in the DBA community is a Rick & Morty fan.

]]>
Comment on simplifying disaster recovery with dbatools by Chrissy LeMaire https://dbatools.io/dr/#comment-80733 Sun, 17 May 2020 05:55:27 +0000 https://dbatools.io/?p=8293#comment-80733 Thanks much, Gabriel! I’ve updated the link to point to the Wayback Machine.

]]>
Comment on simplifying disaster recovery with dbatools by Gabriel Navarrete https://dbatools.io/dr/#comment-80732 Sat, 16 May 2020 15:40:40 +0000 https://dbatools.io/?p=8293#comment-80732 Hello Chris, nice post as usual. There is one section needs your attention and it’s for the link for robo copy in

http://2clickfix.com/practical-robocopy-examples/
Cheers

]]>
Comment on keeping availability group logins in sync automatically by Fred Sanders https://dbatools.io/keeping-availability-group-logins-in-sync-automatically/#comment-80650 Mon, 11 May 2020 22:14:32 +0000 https://dbatools.io/?p=9655#comment-80650 Hi Andreas,

I am very happy with this script. However, how could I go about logging the results of Copy-DBALogin to a file? I have tried a couple variations of start-transcript to no avail.

]]>
Comment on new release – schwifty – all about SPNs by Nick https://dbatools.io/schwifty/#comment-80533 Wed, 06 May 2020 12:38:10 +0000 https://dbatools.io/?p=2761#comment-80533 Hi CHRISSY LEMAIRE , How can we get the list of server to verify the spn?

Where we can get the $servers detail, can you please explain it.

]]>
Comment on scheduling powershell tasks with sql agent by Peter Daniels https://dbatools.io/agent/#comment-80295 Thu, 23 Apr 2020 17:15:17 +0000 https://dbatools.io/?p=5786#comment-80295 @wsuhoey and I just worked through an issue with $env:PSModulePath on slack (Thank you, @wsuhoey). Even though I was using the same domain account to develop my script (in vscode) and to run the SQL Agent proxy for cmdExec, it was not using the same profiles, and therefore an Import-Module in my script quietly failed in my job exec even with -Verbose and -ErrorAction “Stop”. Just a note for folks to pay attention to various powershell profiles and $env:PSModulePath. Cheers.

]]>
Comment on a monumental migration to sql server 2016 by Andy Levy https://dbatools.io/xlmigration/#comment-80290 Thu, 23 Apr 2020 01:22:37 +0000 https://dbatools.io/?p=9435#comment-80290 Thanks! I don’t have the code for that function anymore, but you can see something close to it in the post on my blog where I demonstrated PoshRSJob. That is available at https://flxsql.com/powershell-multithreading-with-poshrsjob/ – scroll down to “Bonus Round”.

]]>