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

Multicopypowershellmove #212

Merged
merged 11 commits into from
Nov 2, 2022
Merged

Multicopypowershellmove #212

merged 11 commits into from
Nov 2, 2022

Conversation

keeyu2
Copy link
Contributor

@keeyu2 keeyu2 commented Nov 1, 2022

Fixes # .

Changes proposed in this pull request:

  • Build a new MultiCopy.ps1
  • Retire the old MultiCopy.cmd

How to test this code:

  • Select SQL Base and currently only working for SystemHealthXEL

Has been tested on (remove any that don't apply):

  • Case-sensitive SQL Server instance
  • SQL Server 2008
  • SQL Server 2008 R2
  • SQL Server 2012
  • SQL Server 2014
  • SQL Server 2016
  • SQL Server 2017
  • SQL Server 2019
  • Azure SQL Virtual Machine
  • Amazon RDS

Created a new powershell command to replaced the cmd command
I rewrote the multicopy.cmd into a powershell script.  Please test.
@keeyu2 keeyu2 requested a review from PiJoCoder November 1, 2022 17:04
1. Moved the Multicopy.ps1 to pristine folder.

2. Fixed Named Instance bug and parsed out he instance name for the file name.

3. Updated Custom Diag for SQLDIAG
keeyu2 and others added 2 commits November 2, 2022 09:01
1. Fixed Named instance parsing
2. Added Multi copy to AG base group
3. Added Multi copy to Polybase group
@@ -0,0 +1,22 @@
param(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You really don't need this file. You should remove it from project. The one in Pristine folder covers all Custom Collectors

Copy link
Contributor

@PiJoCoder PiJoCoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made some suggestions, please let me know if you have questions.

1.Removed comments from Custom Diag
2. updated error message write out.
@keeyu2 keeyu2 linked an issue Nov 2, 2022 that may be closed by this pull request
Removed comments.
Copy link
Contributor

@PiJoCoder PiJoCoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Tests are successful

Co-Authored-By: Kenny <[email protected]>
@PiJoCoder PiJoCoder merged commit f2a4659 into master Nov 2, 2022
@PiJoCoder PiJoCoder deleted the multicopypowershellmove branch November 2, 2022 19:05
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

Successfully merging this pull request may close these issues.

Modify MultiCopy.cmd into a Powershell file
2 participants