netnerds.net
Home
AI Integration Series
AI Usage
About
Subscribe
github bluesky youtube github-star rss
  • About Invoke-Locate, a PowerShell port of GNU findutils' locate and updatedb.

    calendar Dec 1, 2014  · Updated: November 1, 2025 · 5 min read  ·
    Share on: facebook linkedin bluesky copy

    Tonight, I published Invoke-Locate.ps1 to ScriptCenter because I was tired of mounting my Windows drive to my Linux servers to quickly and reliably find files. Originally, it was going to be a small script, but then I decided to trick it out, add an installer and automatic Task Scheduling to run updatedb. The installer …


    Read More
  • Downgrade SQL Server Cluster from Enterprise to Standard

    calendar Sep 8, 2014  · Updated: November 2, 2025 · 3 min read  ·
    Share on: facebook linkedin bluesky copy

    I'm currently working on a PowerShell/SQL set of scripts to ease SQL Server Migrations. A few of the scripts have been posted to Microsoft's ScriptCenter. Recently, one of the ScriptCenter visitors asked: Can this script be used to backup all server configuration and restore at a later date. The use case I have is that …


    Read More
  • PowerShell: Create Human-readable Shortcuts to IIS Log File Directories

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

    About 8 years ago, I wrote a blog post that provided a VBScript to create easy-to-read shortcuts to IIS Log directories. W3SVC56 just wasn't helpful enough to identify which website logs to which directory. Today, I ported that same script to PowerShell. I'm too lazy to explain, so this is what it does: Easy peasy. …


    Read More
  • Import Large CSVs into SQL Server Using PowerShell

    calendar Jul 4, 2014  · Updated: November 2, 2025 · 6 min read  ·
    Share on: facebook linkedin bluesky copy

    A buddy of mine was running into issues importing a 1 GB CSV of Longitudes and Latitudes available from geonames.org. The CSV contains over 9 million rows, and no matter what he did, DTS/SSIS would not import the data because of conversion issues. That's actually been happening to me a lot lately, too, so I find myself …


    Read More
  • PowerShell: Per-user VMware Thinapp Registration Login Script

    calendar Jun 30, 2014  · Updated: November 2, 2025 · 2 min read  ·
    Share on: facebook linkedin bluesky copy

    I'm not super familiar with ThinApping, but converted portions of this VMware login script at the request of a consultant. I tried to automate the script a bit more than the one from VMware's blog. Their script required that you put in the path to each EXE. This script will find all exes within a directory and register …


    Read More
  • [Solved]: New-WebServiceProxy / GetListItems Excessive Lookup Issue

    calendar Oct 30, 2013  · Updated: February 15, 2022 · 2 min read  ·
    Share on: facebook linkedin bluesky copy

    Recently, while trying to use New-WebServiceProxy to automate some SharePoint form entries, I ran into a lookup issue. First, I got this rather generic error: Exception calling "GetListItems" with "7" argument(s): "Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was …


    Read More
  • PowerShell One-Liner: Get External IP Address

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

    Need your External IP address? Just use the following in Windows PowerShell 3+ or PowerShell 7+: 1$ip = (Invoke-WebRequest https://ipinfo.io/ip).Content.Trim() As a bonus, you can also get additional IP information using ipinfo.io's JSON web service. 1# Simple, object-based approach 2$ipinfo = Invoke-RestMethod …


    Read More
  • 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 & SharePoint: Using New-WebServiceProxy to Post New Completed Tasks Automatically

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

    Recently, I was asked to help automate a friend's super boring daily duty of logging repetitive activities to a SharePoint Task list. Even though I'm no longer regularly working with SharePoint (yay!), I accepted the challenge. Below is the script I created, which can be scheduled (and mixed up, even using $a = …


    Read More
  • Use PowerShell v3 to Keep a CookieJar and POST to a Web Form That Prohibits XSS

    calendar Jul 8, 2013 · 1 min read  ·
    Share on: facebook linkedin bluesky copy

    In my previous post, I outlined how to use PowerShell v2 to keep a CookieJar and POST to a Web Form that Prohibits XSS. The code was 35 lines long. Upon seeing my post, Lee Holmes suggested using PowerShell v3's Invoke-WebRequest instead to get my code down to 1/5th of its original size. I'm astounded at how easy …


    Read More
    • ««
    • «
    • 8
    • 9
    • 10
    • 11
    • 12
    • »
    • »»

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