Quantcast
Channel: Aaron Bertrand : powershell
Browsing latest articles
Browse All 8 View Live

Image may be NSFW.
Clik here to view.

SQL Server 2008 R2 Best Practices Analyzer

Maybe I'm a little late to the party, but I thought I would share with you the most recent release of Microsoft's Best Practices Analyzer for SQL Server 2008 R2 (you can also read the original blog...

View Article



Image may be NSFW.
Clik here to view.

T-SQL Tuesday #14: Resolutions

This month, T-SQL Tuesday is being hosted by freshly minted MVP Jen McCown ( blog | twitter ), and her topic is " Resolutions! " I already gave a rough sort of overview on my goals for 2011 , but I...

View Article

Image may be NSFW.
Clik here to view.

PowerShell, Start-Job, -ScriptBlock = sad panda face

I am working on a project where I am using PowerShell to collect a lot of performance counters from a lot of servers. More on that later. For now I wanted to highlight an important lesson I learned...

View Article

Image may be NSFW.
Clik here to view.

How I use PowerShell to collect Performance Counter data

In a current project, I need to collect performance counters from a set of virtual machines that are performing different tasks and running a variety of workloads. In a similar project last year, I...

View Article

Image may be NSFW.
Clik here to view.

A bacon- (and module-) saving PowerShell incident

Earlier today I made a big goof. I opened a module in Notepad, intending to use it as the basis for a new module. I was in the process of using "File > Save As" when my phone rang just at the...

View Article


Image may be NSFW.
Clik here to view.

T-SQL Tuesday #15 : Running T-SQL workloads remotely on multiple servers

This month's installment of T-SQL Tuesday is hosted by Pat Wright ( blog | twitter ). Pat says: "So the topic I have chosen for this month is Automation! It can be Automation with T-SQL or with...

View Article

Image may be NSFW.
Clik here to view.

[OT] : Windows Activation, en masse

This weekend I discovered a minor issue in one of my virtual environments. I had built out 100 VMs based on a Hyper-V template, but I forgot to activate the original source before creating the...

View Article

Image may be NSFW.
Clik here to view.

A little PowerShell syntax tip : dealing with SQL Server named instances

This afternoon I was working on a little PowerShell script to collect some PerfMon counters. I borrowed some code from myself, and had counters represented in strings like the following (this is a...

View Article

Browsing latest articles
Browse All 8 View Live




Latest Images