-
Recent Posts
Archives
Category Archives: SQL Server
Windows 8 Hyper-V 3.0 – My Personal 8 Tips for the Newbie
Well, Here’s some tips to those who are first timers with Windows 8 Server (or Client) Preview edition. I have to say, after been using the previous version of Hyper-V, I’m very happy for what i’ve seen so far in … Continue reading
Posted in Hyper-V, PowerShell, SQL Server, Windows 8
Comments Off
SQL Server PowerShell SMO – Simple way to Change SQL User Passwords
Here’s a simple PowerShell SMO code that shows you How-To change a SQL user password. Keep in mind, SMO needs to be installed and the assemblies loaded before using this code. To load SMO, you can: 1. Install the SQLPS Module … Continue reading
Posted in PowerShell, SQL Server
Comments Off
Creating a Standalone Windows 8 Server Virtual Machine with SQL Server 2012 CTP3
Here’s how I build my version of a standalone workgroup Windows 8 Server Virtual Machine(VM) with SQL Server 2012 (“Denal;i”) CTP3. When you create this VM, make sure to give enough memory. How-To create a VM in Hyper-V Manager console: I’m not … Continue reading
Posted in Hyper-V, PowerShell, SQL Server, Windows 8
Comments Off
SQL Saturday #86 Tampa BI edition: SSIS – Analyzing your data integrating PowerShell session
I’m excited to bring this new topic to #SQLSat86 Tampa for the BI community. So, here’s a brief rundown of what I will be covering on Saturday, November 5th morning session: Topic: SSIS – Analyzing your data integrating PowerShell *Note: … Continue reading
Posted in PowerShell, SQL Server
Comments Off
PowerShell working with SQLPS or SMO…
Today, while help @meltondba with his SQLPS question on the enumerating jobs history, @LaerteSQLDBA provided a oneliner to provide this result. There’s one concern, should we use SQLPS instead of SMO. For this answer I’m going to point out MSDN article regrading … Continue reading
Posted in PowerShell, SQL Server
Comments Off
No-Hassle SQL Server Remoting with PowerShell V2
Although, PowerShell give the whole remoting experience, you may still need to ask you network administrator to let you configure remoting on all the machines you need to access. Of course, unless you hold the keys of the kingdom. But, it … Continue reading
Posted in PowerShell, SQL Server
Comments Off
Creating your own ExitCode in PowerShell and use it in SSIS package
As I started to build executable solutions in PowerShell for my SSIS packages, now I need to take advantage of providing an Exit Code value within the application. Creating your own exit code can be very useful for providing a … Continue reading
Posted in PowerShell, SQL Server
Comments Off
Passing Parameter to a PowerShell executable – Part 2
Using a PowerShell executable w/Param() in SSIS Here’s where the fun begins. It took me a few hours to figure something out in order to my SSIS package pass some values into my PowerShell executable. So, here’s a sample solution … Continue reading
Posted in PowerShell, SQL Server
Comments Off
Great SQL Saturday South Florida Event – PowerShell included!!
Yes!! It was a great event with over 400 people showing up, and only two PowerShell Sessions included. Thanks to all SQL Saturday organizers for all the efforts in putting this events together. I’m honor to be part of it. … Continue reading
Posted in Events, PowerShell, SQL Server
Comments Off
SQL Server SMO loading Assemblies Gotcha’s
One thing I’ve seen most DBA’s blogging about SQL Server and PowerShell is the use of the V1 way to load the SMO Assemblies using: [void][reflection.assembly]::LoadWithPartialName(“Microsoft.SqlServer.Smo”); And, there’s a reason for still using this method, which I will show in … Continue reading
Posted in PowerShell, SQL Server
Comments Off