You can watch the replay for this Geek Sync webcast in the IDERA Resource Center: http://ow.ly/wcyV50A5oh1
In this session Maximo will be showing some available tools the DBA can use along with PowerShell. We’ll be integrating Visual Studio with PowerShell and at the same time using IDERA’s PowerShellPlus editor. At the end, we’ll build an SSIS package solution to execute our PowerShell script. It will be pack with interesting thing to do as well as help you accomplish your automation tasks.
2. Visual Studio Communuty
Some Tools for DBA’s
Idera’s PowerShell Plus
PowerShell SSIS Integration
Questions
3
1
2
4
1
5
3. Some Tools for the
DBA’s
Download SQL Server Data Tools Preview in Visual Studio 2015
https://msdn.microsoft.com/en-us/mt429383
Download SQL Server Data Tools Preview in Visual Studio 2013
https://www.microsoft.com/en-us/download/details.aspx?id=42313
IDERA PowerShellPlus Tool
https://www.idera.com/productssolutions/freetools/powershellplus
2
4. Some Tools for the
DBA’s
Download SQL Server Data Tools (SSDT)
https://msdn.microsoft.com/en-us/library/mt204009.aspx
Previous releases of SQL Server Data Tools (SSDT and SSDT-BI) for
Visual Studio 2013
https://msdn.microsoft.com/en-us/library/mt674919.aspx
Convert VB to C# Online Tool
http://www.developerfusion.com/tools/convert/csharp-to-vb/
3
5. Visual Studio
Community (free)
Integrating your tools
• PowerShell Tools for VS 2013( or 2015)
• Idera’s PowerShellPlus (and others)
• Source Control availability: TFS, GitHub (not
covered)
4
7. PowerShell VS SSIS
Integration
Using SQL Server Tools for Business
Intelligence
• DOS batch
– Understanding Exit Codes
• .NET VSTA scripting
– Debug in Visual Studio
6
8. PowerShell VS SSIS Integration
DOS Batch file
• Return Exit Code
• Echo %ErrorLevel% (other than 0 = Error)
• PowerShell $LastExitCode
• You assign any value > 0
• Sample DOS batch to Execute PowerShell file.
7
11. Don’t forget to check out the
previously recorded Geek Sync
webcasts to learn more about
PowerShell and SQL Server.
Thank You!
https://www.idera.com/events/geeksync