THE SQL Server Blog Spot on the Web

Welcome to - The SQL Server blog spot on the web Sign in | |
in Search

Browse by Tags

All Tags » sql server » PowerShell   (RSS)
Showing page 1 of 3 (21 total posts)
  • Working with SQL Server for Linux Cross-Platform

    Next week, on August 24th a new webinar from the PASS Application Development Virtual Group will be aired. This time the topic is the Cross-Platform support introduced with the forthcoming SQL Server 2017. Maximo Trinidad will delivery the following session: Working with SQL Server for Linux Cross-Platform You're welcome to explore the ...
    Posted to Davide Mauri (Weblog) by manowar on August 15, 2017
  • Export all SSIS packages from msdb using Powershell

    Have you ever wanted to dump all the SSIS packages stored in msdb out to files? Of course you have, who wouldn’t? Right? Well, at least one person does because this was the subject of a thread (save all ssis packages to file) on the SSIS forum earlier today. Some of you may have already figured out a way of doing this but for those that haven’t ...
    Posted to Jamie Thomson (Weblog) by jamiet on February 2, 2011
  • Generate multiple SqlCmdVars files in your database projects

    Earlier today I was doing a little work using datadude/DBPro/Visual Studio Database Tools/pick your name and had a need to write a Powershell script that I think might be useful to other folks so I’m sharing it here. Often when you’re putting together database projects you will have a need for multiple .sqlcmdvars files – one for each environment ...
    Posted to Jamie Thomson (Weblog) by jamiet on January 19, 2011
  • PowerShell for the DBA: Search the Windows Event Logs for Errors

    This is a very simple script - but it's one I run each morning. It searches the Windows System Event Log for an error condition. You can replace ''System'' here with ''Application'' or ''Security'', or any of the other logs that are created on your Windows Server. This is run at the server, since I have each server check itself and make a file of ...
    Posted to Buck Woody (Weblog) by BuckWoody on August 4, 2010
  • A strategy for managing security for different environments using the Database Development Tools in Visual Studio 2010

    Intro Of late I have been getting down and dirty with the Database Development tools in Visual Studio 2010. You may know this feature set by one of the plethora of other names it has had over recent years such as: Visual Studio Team System for Database Professionals DBPro Datadude For the rest of this post I’ll stick with the colloquial ...
    Posted to Jamie Thomson (Weblog) by jamiet on July 21, 2010
  • PowerShell and Extended Properties

    I use Extended Properties on databases and their objects all the time. They are a great way to include information about the object – I use them for versioning the database, detailing what a column is used for and so on. They can be a little tricky to set, but it’s really not bad once you learn how.  Ken Simmons, a SQL Server MVP ...
    Posted to Buck Woody (Weblog) by BuckWoody on July 20, 2010
  • Find Rules and Defaults using the PowerShell for SQL Server 2008 Provider

    I ran into an issue the other day where I couldn't set up some features in SQL Server 2008 because they ddon't support the use of Rules or Defaults. Let me explain a little more about that. In older versions of SQL Server, you could decalre a ''Rule'' or ''Default'' just like you do with a Table Constraint today. You would then ''bind'' these ...
    Posted to Buck Woody (Weblog) by BuckWoody on June 1, 2010
  • SQL Server PowerShell Provider And PowerShell Version 2 Get-Command Issue

    The other day I blogged that the version of the SQL Server PowerShell provider (sqlps) follows the version of PowerShell. That’s all goodness, but it has appeared to cause an issue for PowerShell 2.0. the Get-Command PowerShell command-let returns an error (Object reference not set to an instance of an object) if you are using PowerShell 2.0 and ...
    Posted to Buck Woody (Weblog) by BuckWoody on May 10, 2010
  • SQL Server PowerShell Provider follows the Version of PowerShell on the Host and other errata

    There may be some misunderstanding on how the PowerShell Provider for SQL Server works. I’ve written an article or two explaining that you can use PowerShell with SQL Server, without having the SQL Server 2008 (or higher) provider around. After all, PowerShell just uses .NET, and SQL Server “Server Management Objects” or SMO listen to that ...
    Posted to Buck Woody (Weblog) by BuckWoody on May 5, 2010
  • Create and Track Your Own License Keys with PowerShell

    SQL Server used to have  cool little tool that would let you track your licenses. Microsoft didn’t use it to limit your system or anything, it was just a place on the server where you could put that this system used this license key. I miss those days – we don’t track that any more, and I want to make sure I’m up to date on my licensing, so I ...
    Posted to Buck Woody (Weblog) by BuckWoody on April 15, 2010
1 2 3 Next >
Privacy Statement