netnerds.net
Home
AI Integration Series
AI Usage
About
Subscribe
github bluesky youtube github-star rss
  • Counting the number of occurrences of a string or file in PowerShell

    calendar May 11, 2016 · 1 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    I always forget how to do this, and Aleksandar Nikolić posted a really beautiful answer on Powershell.com

    For a file:

    1-split (Get-Content .\test.txt | Out-String) | 
    2Where-Object { $_ -eq "test" } | Measure-Object |
    3Select-Object -exp count
    

    For a string:

    1$html.content -split …

    Read More
  • Keeping up with SQL Server Connect Items Marked Closed as Fixed

    calendar May 11, 2016 · 1 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    Earlier this week, I was trying to determine people's feelings about Microsoft Connect by looking through Twitter. A few scrolls down, and I came upon this

    @Ms_Alaina My problem is I sometimes stumble upon a Connect item I filed in 2008, and have no idea when it was closed as fixed.

    — Aaron Bertrand (@AaronBertrand) …

    Read More
  • Trello is awesome for everything

    calendar May 1, 2016 · 2 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    The other week, I was introduced to Trello for the first time by this tweet and I fell in love.

    In case you missed it, here’s my Trello of upcoming “How Stack Overflow does X” blog posts, please vote or suggest! https://t.co/6E8JRb4RSu

    — Nick Craver (@Nick_Craver) February 1, 2016

    Basically, Nick uses Trello to gauge …


    Read More
  • WE DID IT! Microsoft Fixed Those 3 SQLPS Issues in SQL Server 2016

    calendar Apr 3, 2016 · 2 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    In my previous blog post "Can We Get These 3 SQLPS Issues Fixed before SQL Server 2016 RTMs?", Aaron Nelson and I asked the SQL and PowerShell community to help upvote 3 SQL Connect items. The items addressed three problems with SQL Server's PowerShell module, SQLPS.

    • It took 3-5 seconds to load
    • It changed …

    Read More
  • More on SQLPS and SQL Server on Linux

    calendar Mar 17, 2016 · 2 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    In tonight's PowerScripting Podcast, I shared a few things about SQL Server on Linux, and talked a bit about SQLPS. All after a lengthy intro about my tech life and Cajun culture ;) You can watch the whole thing, skip to 28 minutes to the podcast intro, or skip to around 59 minutes for the SQL/Linux/SQLPS portion.

    Or …


    Read More
  • Can We Get These 3 SQLPS Issues Fixed before SQL Server 2016 RTMs?

    calendar Mar 4, 2016 · 4 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    YES WE CAN! Microsoft responded and fixed these 3 major issues in SQL Server Management Studio March 2016 Refresh. Read more at "WE DID IT! Microsoft Fixed Those 3 SQLPS Issues in SQL Server 2016".


    I'll be honest, I don't use the SQLPS module even though I'm the perfect candidate. I've been a SQL Server DBA …


    Read More
  • Failed Domain Relationships on SQL Server Cluster Nodes

    calendar Jan 20, 2016 · 2 min read  ·
    Share on: mastodon facebook linkedin bluesky copy
    You know what's scary as hell? When one node of an important cluster loses its trust relationship with the domain and you see the error "the trust relationship between this workstation and the primary domain failed". That happened to me late last year with one of my SQL Server 2008 R2 nodes. The scary part …
    Read More
  • PowerShell Conference EU 2016, psconf.eu

    calendar Jan 20, 2016 · 1 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    I'll be presenting some sessions about SQL Server and PowerShell at the PowerShell Conference EU in Hanover, Germany on April 20-22! You should join me, because the speaker and session lineup is amaaazing! Register at psconf.eu.

    <img …</picture></figure></a></p>
    

    Read More
  • PowerShell Tip: You may not need to load the DLL for that Assembly that can't be found

    calendar Jan 7, 2016 · 1 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    Recently, I wanted to access the System.Windows.Forms.Integration.ElementHost type, which uses the System.Windows.Forms.Integration namespace.

    When I tried to load that namespace, PowerShell complained that The assembly 'System.Windows.Forms.Integration' could not be found.

    I read up and found that the …


    Read More
  • Adding Toolbar Icons to Your PowerShell WPF GUI

    calendar Jan 6, 2016 · 3 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    This post builds on some previous post titled Use base64 for Images in WPF-based PowerShell Forms.

    Show-WpfIconExample.ps1, which can be found below and on github, demonstrates how to overlay the default PowerShell toolbar icon with an image that's been transformed to a base64 string to …


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

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

  • Document Intelligence with Azure Functions: A Practical Implementation
  • Automating Document Classification in SharePoint with Power Platform and AI
  • Asking Bigger Questions: Remote LLMs for Automation Engineers
  • AI Integration for PowerShell Developers: Getting Started with PSOpenAI and GitHub Models
  • AI Automation with AI Toolkit for VS Code and GitHub Models: A Visual Guide
  • Asking Tiny Questions: Local LLMs for PowerShell Devs
  • Local models mildly demystified
  • Let's talk about anti-AI slop: my plead for schools to teach AI literacy

categories

powershell 128 sql-server 123 general 64 security 60 windows 47 sharepoint 42 active-directory 37 linux 31 networking 30 vbscript 30 apple 24 virtualization 22 iis 19 genai 14 github 10
All Categories
active-directory37 ai1 apache7 apple24 asp-net2 azure5 azure-functions1 bi4 db24 devcontainers1 exchange7 genai14 general64 github10 iis19 linux31 livestreaming4 lync2 mastodon4 networking30 oracle1 powershell128 security60 sharepoint42 sql-server123 typescript1 vbscript30 virtualization22 windows47 wpf7
[A~Z][0~9]
 

Copyright 2003 -  Chrissy LeMaire. All Rights Reserved