netnerds.net
Home
AI Integration Series
AI Usage
About
Subscribe
github bluesky youtube github-star rss
  • PowerShell v3: Get Volume Information for Clustered SQL Server Storage

    calendar Jul 23, 2013  · Updated: November 2, 2025 · 2 min read  ·
    Share on: facebook linkedin bluesky copy

    Unfortunately, there are no native PowerShell Failover Cluster cmdlets which will give you the volume information for disks in a cluster. I've seen some bloggers use Get-ClusterSharedVolume but a Cluster Shared Volume or CSV is different from volumes used within a SQL cluster. The script below, which was written with …


    Read More
  • PowerShell Get-WinEvent Bug Workaround on Windows 2008 R2 Server -- Importing Windows Forwarded Events into SQL Server using PowerShell

    calendar Apr 10, 2013  · Updated: November 2, 2025 · 2 min read  ·
    Share on: facebook linkedin bluesky copy

    This is sort of a continuation of my earlier post, Importing Windows Forwarded Events into SQL Server using PowerShell, where I mentioned that I was unable to get the script to work on Windows 2008 R2 due to a known bug in Get-WinEvent. I had to end up deploying my solution to a Windows 2008 R2 Server and was required …


    Read More
  • Quick and Dirty: Backup SQL Server Express Instances on Enterprise Networks

    calendar Apr 5, 2013  · Updated: November 2, 2025 · 2 min read  ·
    Share on: facebook linkedin bluesky copy

    I know the ideal Enterprise network won't have any SQL Server Express instances, but every large network that I've ever worked on has at least a few. Many times, it's powering apps like SolarWinds or BackupExec. Since SQL Express doesn't run SQL Agent, it can be a pain to backup and maintain the systems. There are a …


    Read More
  • Safely Enable SQL Server Agent MultiServer Administration using PowerShell

    calendar Apr 5, 2013  · Updated: November 2, 2025 · 4 min read  ·
    Share on: facebook linkedin bluesky copy

    Update: You can't even independently schedule slave jobs. Count my organization as yet another that won't be implementing MultiServer Administration. Grrr. I always forget about Multiserver Administration. I've actually never worked in an environment that uses it, even though it seems to have a lot of potential. I …


    Read More
  • Importing Windows Forwarded Events into SQL Server using PowerShell

    calendar Mar 20, 2013  · Updated: November 1, 2025 · 5 min read  ·
    Share on: facebook linkedin bluesky copy

    Over the past couple weeks, I've looked into a number of ways of parsing and importing Windows Forwarded Events into SQL Server: from using SSIS to LogParser to PowerShell to setting up a linked server to the "Forwarding Events.evtx" file. Ultimately, the only thing that worked was PowerShell's Get-WinEvent …


    Read More
  • Leveraging SQL Database Snapshots

    calendar Aug 2, 2012  · Updated: November 2, 2025  · Brandon Abshire   · 5 min read  ·
    Share on: facebook linkedin bluesky copy

    I've known about SQL Database Snapshots for a while, but never really took the time to use the feature. Lately, I've gotten into mirroring again and decided to play around with Database Snapshots. I should clarify at this point that I'm speaking about the native SQL snapshot capabilities, and not a filer technology …


    Read More
  • SQL Server Discovery Tools and Scripts

    calendar May 24, 2012 · 2 min read  ·
    Share on: facebook linkedin bluesky copy

    Each time I start a new contract, the first thing I do is search for all SQL Servers across any network/subnet to which I have access. While the documentation I get is usually paltry or non-existent. When it does exist, it's usually only for the production SQL Servers. Sometimes, most production SQL Servers aren't even …


    Read More
  • A Possible Infinite Recompile was Detected - SQL Server Bug with Linked Servers

    calendar May 14, 2012  · Updated: February 16, 2022  · Brandon Abshire   · 2 min read  ·
    Share on: facebook linkedin bluesky copy

    I recently assisted in migrating a very large system from SQL Server 2005 SP3 to SQL Server 2008 R2 SP1. The actual migration of the database went off without a hitch, but we soon encountered an odd error with the application querying a view over a linked server. The application was web-based and began throwing an …


    Read More
  • SQL Server 2012 PowerPivot Services: Service Account Keeps Getting Locked Out

    calendar Mar 29, 2012  · Updated: February 13, 2022 · 1 min read  ·
    Share on: facebook linkedin bluesky copy

    Okay, I've had to call Helpdesk an embarrassing 8 times today because my PowerPivot upgrade is going horribly wrong and locking out my AD account that, admittedly, I use as a "service" account. I'm really left with no choice -- I'm only granted one account on this network. Restrictive networks are so …


    Read More
  • When xp_delete_file doesn't work as expected...

    calendar Mar 29, 2012  · Brandon Abshire   · 2 min read  ·
    Share on: facebook linkedin bluesky copy

    Whether you use a Maintenance Cleanup Task as part of a SQL 2005 or 2008 Maintenance Plan, or script out your own cleanup t-SQL, you are probably using the xp_delete_file extended procedure. For quite a while, I've occasionally come across old TLog or backup files that were missed. Without questioning it, I would clean …


    Read More
    • ««
    • «
    • 5
    • 6
    • 7
    • 8
    • 9
    • »
    • »»

Chrissy LeMaire

SQL & PowerShell MVP. GitHub Star. Creator of dbatools. Need to oil my knees.

GenAI book

Buy now at manning.com for 45% off with code gaipbl45

AI Integration Series

  • Automation with AI Toolkit + GH Models
  • Getting Started with AI for PowerShell
  • Asking Tiny Questions: Local LLMs
  • Local Models Demystified
  • Asking Bigger Questions: Remote LLMs
  • PDF Text to SQL Data with OpenAI
  • Document Classification in SharePoint
  • Azure Functions Doc Parser

dbatools book

Now available in bookstores and amazon 🥳 Buy it at manning.com for 50% off with code bldbatools50

dbatools

dbatools is an awesome PowerShell module that helps you migrate entire instances with a single command, plus a whole lot more.

available from dbatools.io and github

dbachecks

dbachecks validates SQL Server environments using crowdsourced DBA checklists and outputs to Power BI and is available on github.com 📊

Find me

Find me on Bluesky

recent posts

  • Fixing SQL Server Case Sensitivity Issues with GitHub Copilot CLI
  • Got a ChatGPT Subscription? Use It to Keep Your Blog Up-to-date
  • Update your blog with an AI CLI (No, really)
  • Update Your Blog with GitHub Copilot CLI
  • Rebuilding dbatools.io: From Notepad++ to Cursor
  • Have You Considered Not Using SQL Server High Availability?
  • PowerShell Output Redirection with AI CLIs
  • dbatools is moving to Azure Trusted Signing

categories

powershell 135 sql-server 124 general 62 security 61 windows 47 sharepoint 42 active-directory 37 linux 31 vbscript 31 networking 30 apple 24 virtualization 22 genai 19 iis 19 github 10
All Categories
active-directory37 ai6 apache7 apple24 asp-net2 azure5 azure-functions1 bi4 db24 dbatools1 devcontainers1 exchange7 genai19 general62 github10 iis19 linux31 livestreaming4 lync2 mastodon4 networking30 oracle1 powershell135 security61 sharepoint42 sql1 sql-server124 typescript1 vbscript31 virtualization22 windows47 wpf7
[A~Z][0~9]

Copyright 2003 -  Chrissy LeMaire. All Rights Reserved

Go work on your website

Start typing to search

Search across posts, pages, and commands

    ↑↓ to navigate ↵ to select esc to close
    Powered by Fuse.js