netnerds.net
Home
Book
Links icon
Data Platform GitHub Org GitHub Profile GitHub Star Profile MVP Profile Twitch
About
Subscribe
  • Adding Toolbar Icons to Your PowerShell WPF GUI

    Jan 6, 2016 · 3 min read  ·
    Share on:

    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
  • ShowDialog() Sucks: Use ApplicationContext and Run Instead

    Jan 6, 2016 · 5 min read  ·
    Share on:

    Update Jan 7: Added KeyboardInterop so that TextBoxes will work. One of the lessons learned when making Popups and NotifyIcons in PowerShell and WPF is that the WPF window must be run the the proper context. I was tipped off to this by Denniver Reining's PowerShell / NotifyIcon article and Johnny J's "Doing a (C#) …


    Read More
  • PowerShell Invoke-RestMethod / CloudFlare API v4 Code Sample

    Dec 29, 2015 · 2 min read  ·
    Share on:

    If you're looking to create your own CloudFlare API v4-based PowerShell module, and would like some syntax examples, here's a simplified breakdown of my CloudFlareDynDns module on github, which I discuss in "Use PowerShell and CloudFlare API v4 to Dynamically Update CloudFlare DNS to your External IP". 1# Set …


    Read More
  • Use PowerShell and CloudFlare API v4 to Dynamically Update CloudFlare DNS to your External IP

    Dec 29, 2015 · 2 min read  ·
    Share on:

    Got a homelab and miss how DynDNS used to be free? Using PowerShell and a CloudFlare hosted domain, you can emulate similar functionality for free using PowerShell and a Scheduled Task. If you're looking for a DDNS client that you can run on a router, check out CloudFlare's ddclient or Scott Helme's post Replacing …


    Read More
  • My Very First Scripting Guys Article: Creating Pop-ups by Using PowerShell

    Nov 26, 2015 · 1 min read  ·
    Share on:

    So this happened about a month ago, but I've been out with the flu. Ed Wilson with Microsoft Scripting Guys invited me to write a few articles on WPF, and I excitedly said yes! In the first article of the series, I detail how to Create Pop-ups by Using PowerShell. The example used displayed local hard drive space. The …


    Read More
  • Use base64 for NotifyIcon in PowerShell

    Oct 5, 2015 · 2 min read  ·
    Share on:

    In addition to be able to use base64 for Images in WPF-based PowerShell Forms, you can also use base64 for icons as well. Essentially, you take the base64, convert it to a memory stream, draw an image from that stream, then convert the image to an icon. Finally, you assign the $notify.Icon this new variable. Just the …


    Read More
  • Display WPF Popups in Lower Right Corner of Screen using PowerShell

    Sep 20, 2015 · 3 min read  ·
    Share on:

    I've recently changed my mind on this, but will leave the previous post up in case you want to reposition a WPF popup. If you want a big window to popup in the lower-right corner of the screen, use a WPF Window. WPF Popups are chromeless, it's true, but they are also limiting in how you can move them around, and how …


    Read More
  • Icon Color Replacement Fun with PowerShell

    Sep 20, 2015 · 2 min read  ·
    Share on:

    I like to keep interfaces simple and tend to use icons in my GUI designs. Recently, when making a PowerShell GUI to alert myself to alarm status changes in vCenter, I decided to reuse the same icon over and over for different statuses, but I made them meaningful by dynamically changing the color. The Goal My ultimate …


    Read More
  • Use base64 for Images in WPF-based PowerShell Forms

    Sep 19, 2015 · 2 min read  ·
    Share on:

    I'm currently building a notification module to let me know when VMware vCenter alerts go off in my home lab. I plan to share it, and wanted to use a non-standard icon, but didn't want to require a separate download. I knew base64 would be the answer, and ultimately, some C# code from StackExchange helped me figure out …


    Read More
  • Import-CsvToSql: Super Fast CSV to SQL Server Import PowerShell Module

    Sep 6, 2015 · 3 min read  ·
    Share on:

    A while back, I wrote about High-Performance Techniques for Importing CSV to SQL Server using PowerShell. Earlier today, I released a PowerShell module, CsvSqlImport.psm1, which puts that post into practice. Using this module, it's possible to import over 90,000 records a second in optimized environments. In addition …


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

Chrissy LeMaire

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

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 Mastodon

recent posts

  • You just joined Mastodon, now what?
  • Using GitHub Pages to Setup an Alias on Mastodon
  • Aliases on Mastodon: Add me! I'm also [email protected]
  • Moving to Mastodon: I actually like it better (Updated!)
  • Docker on GitHub Actions macOS Runners (2022)
  • Signing Windows Software with GitHub Actions, Encrypted Secrets and PowerShell
  • ExpressVPN on macOS: No internet detected
  • RBAR Performance in PowerShell

categories

sql-server 117 powershell 109 general 63 security 59 windows 47 sharepoint 41 active-directory 37 linux 31 networking 30 vbscript 30 apple 24 virtualization 22 iis 19 apache 7 exchange 7
All Categories
active-directory37 apache7 apple24 asp-net2 bi4 db24 exchange7 general63 github7 iis19 linux31 livestreaming4 lync2 mastodon4 networking30 oracle1 powershell109 security59 sharepoint41 sql-server117 vbscript30 virtualization22 windows47 wpf7
[A~Z][0~9]
 

Copyright 2003 -  Chrissy LeMaire. All Rights Reserved