netnerds.net
Home
AI Integration Series
AI Usage
About
Subscribe
github bluesky youtube github-star rss
  • Offline Installation of dbatools 2.0 with the dbatools.library Dependency

    calendar Apr 5, 2023 · 3 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    If you work in an offline environment, you're probably familiar with how painful it can be to install anything, including PowerShell modules like dbatools. In the past, dbatools had no dependencies, so the installation process was somewhat straightforward — you could even download a zip from our GitHub repo. However, …


    Read More
  • New Encryption and Certificate Defaults in Microsoft's SQL Server Connection Provider

    calendar Mar 5, 2023 · 5 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    Note: This blog post is going to borrow a bit from Microsoft's official documentation in "Connect with Azure Data Studio" and from our book, Learn dbatools in a Month of Lunches. It also addresses dbatools 2.0, which is currently in pre-release. Microsoft recently made some changes to the default encryption …


    Read More
  • What's new and different in dbatools 2.0

    calendar Mar 5, 2023 · 5 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    So much is new and different! If you'd like to try it while you read this blog post, you can currently install dbatools 2.0 by executing the following command: 1Install-Module dbatools Requirements dbatools still works on PowerShell v3 an v4! Thanks to Microsoft for making that possible with SMO. PowerShell v5.1 is …


    Read More
  • Don't waste your time with ($PSEdition -eq 'Core') in your PowerShell module manifest/psd1

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

    I cannot believe my eyes. I imagine some PowerShellers will disagree with me but when developing modules that support older versions of PowerShell, I refuse to even try to support Core vs Desktop in my module manifest. I imagine this will be the case for the next decade or two. I've been working on dbatools 2.0 for a …


    Read More
  • Exploring faster PowerShell import times.. again

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

    I've been trying for years to get dbatools to import faster. There's a lot of plain-text code to import and even more help. Binary modules like Microsoft's SqlServer module benefit from prior compilation and can be imported in like 500-900ms whereas dbatools generally takes 2-5 seconds. I've written about module …


    Read More
  • Signing Windows Software with GitHub Actions, Encrypted Secrets and PowerShell

    calendar Jun 20, 2022 · 12 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    Code signing your scripts, modules and applications can help increase enterprise adoption, as large organizations often prohibit running unsigned tools on Windows. Signed code allows machines to verify that what they're running hasn't been altered or compromised by a third party, which ultimately increases their …


    Read More
  • RBAR Performance in PowerShell

    calendar May 31, 2022 · 8 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    Years ago before I learned PowerShell, I was using T-SQL to do things it just wasn't meant to do, namely SQL Server estate management. T-SQL is incredibly efficient when managing data, but it's not very efficient when managing SQL Server instances. For example, say you need to perform a task against each database. The …


    Read More
  • Import-DbaCsv Design Considerations

    calendar May 24, 2022 · 6 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    This post is about Import-DbaCsv, a command within the dbatools PowerShell module for SQL Server. I've been writing about CSV imports using PowerShell for a pretty long time and in VBScript for even longer. Initially, my primary concerns were ease-of-use and speed. Over time, I realized that what mattered most was: …


    Read More
  • Default PowerShell Paths (PSModulePath) on GitHub Runners

    calendar Mar 24, 2022 · 1 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    If you're curious about the $Env:PSModulePath for GitHub Runners, here's what I came up with after running this workflow. Knowing the $Env:PSModulePath of each runner can be useful for making specific types of GitHub Actions. I used it within my own GitHub Action, psmodulecache which makes caching PowerShell modules …


    Read More
  • My Windows Terminal Retro Theme

    calendar Jul 24, 2020 · 2 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    After reading a number of Windows Terminal posts by Thomas Maurer and seeing Windows Terminal Preview available in my Windows App Store, I finally decided to dive in again. I was sooo excited when Microsoft first made the announcement but was disappointed when I found out I'd have to run a specific version of Windows …


    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • 4
    • 5
    • »
    • »»

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

  • Update Your Blog with GitHub Copilot CLI
  • Rebuilding dbatools.io: From Notepad++ to Cursor
  • Update your blog with an AI CLI (No, really)
  • Have You Considered Not Using SQL Server High Availability?
  • PowerShell Output Redirection with AI CLIs
  • dbatools is moving to Azure Trusted Signing
  • Document Intelligence with Azure Functions: A Practical Implementation
  • Automating Document Classification in SharePoint with Power Platform and AI

categories

powershell 134 sql-server 125 general 63 security 61 windows 47 sharepoint 42 active-directory 37 linux 31 vbscript 31 networking 30 apple 24 virtualization 22 iis 19 genai 17 github 10
All Categories
active-directory37 ai5 apache7 apple24 asp-net2 azure5 azure-functions1 bi4 db24 dbatools1 devcontainers1 exchange7 genai17 general63 github10 iis19 linux31 livestreaming4 lync2 mastodon4 networking30 oracle1 powershell134 security61 sharepoint42 sql-server125 typescript1 vbscript31 virtualization22 windows47 wpf7
[A~Z][0~9]
 

Copyright 2003 -  Chrissy LeMaire. All Rights Reserved

Start typing to search

Search across posts, pages, and commands

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