netnerds.net
Home
AI Integration Series
AI Usage
About
Subscribe
github bluesky youtube github-star rss
  • VBScript & SQL: Centralize Windows Events in SQL Server

    calendar Apr 12, 2006 · 4 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    This is a barebones script that gathers server events across a domain and stores them in SQL Server using asyncronous notifications as seen in this sample of the code:

    strWQL = "Select * from __InstanceCreationEvent where TargetInstance isa 'Win32_NTLogEvent'" objWMIService.ExecNotificationQueryAsync …


    Read More
  • cmd: The "at" command

    calendar Apr 11, 2006 · 1 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    Windows, like Unix, has an "at" command. It's basically a command-line interface for Task Scheduler. I use it rather often but haven't memorized the syntax so I've decided to put it here in my blog. Here is example syntax for running a VBS script:

    at 12:00 /every:m,t,w,th,f,s,su %SystemDirectory%\cscript.exe …


    Read More
  • AppleScript: McVPN

    calendar Apr 10, 2006 · 2 min read  ·
    Share on: mastodon facebook linkedin bluesky copy
    This bandaid is mighty handy for pesky OSX disconnects. I don't really know what causes it and unfortunately, I don't have time to fully figure it out. I do know that changing my gateway back to my local gateway helped tremendously. Also, changing my default nameserver to a local nameserver helped too. Now, I get …
    Read More
  • VBScript: Check for Low Disk Space and Report to Event Viewer

    calendar Apr 10, 2006 · 3 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    This code is part of a bigger project I'm working on. It checks the disk space for each logical drive and, if the space is below one gigabyte, reports it to Event Viewer at a max of once per day.

    '**************************************************************************** ' This script created by Chrissy LeMaire ( …


    Read More
  • VBScript: IIS Discovery

    calendar Apr 10, 2006 · 3 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    Find IIS Servers on your domain (or with modifications, your subnet) using this script

    '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ' Author: Chrissy LeMaire ' Copyright 2003 NetNerds Consulting Group ' Script is provided AS IS with no warranties or guarantees and assumes no …


    Read More
  • VBScript: Shortcuts for IIS Log Directories

    calendar Apr 10, 2006 · 2 min read  ·
    Share on: mastodon facebook linkedin bluesky copy
    I love parsing through IIS logfiles but I dislike the directory structure that Microsoft creates for IIS logging. Each site has a randomly generated directory name so, for example, "netnerds.net" could store its files in "C:\windows\system32\logfiles\W3SVC720199813." Who wants to track that down? …
    Read More
  • VBScript: Gather E-mail Addresses from an Exchange Mailbox

    calendar Apr 9, 2006 · 3 min read  ·
    Share on: mastodon facebook linkedin bluesky copy
    I recently sent out a newsletter to everyone who had any communicatoin with RealCajunRecipes.com. I had an Exchange Mailbox that collected all emails sent using the Tell-A-Friend feature of the website as well as the guestbook, ask maw-maw, and general website comments. I'd forgotten to automatically subscribe these …
    Read More
  • /bin/sh: Backup Wordpress to Gmail

    calendar Apr 8, 2006 · 1 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    The code below was written pretty quickly. It backs up the Wordpress directory, the mySQL table, zips it then emails it to the specified gmail account. Mutt must be installed.. change the variables to suit your environment.

    #!/bin/sh theDate=`/bin/date +%Y%m%d`

    ######### backup DB ########## /usr/local/bin/mysqldump -A …


    Read More
  • Anapod Rocks: An alternative to iTunes

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

    EDIT: This post is about 3 years old now and I've since started using Songbird. Read my review titled: "Songbird is to iTunes what FireFox is to IE".

    If you dislike iTunes as much as I do, Anapod by RedChairSoftware is the perfect alternative. …


    Read More
  • And… I'm back.

    calendar Mar 31, 2006 · 1 min read  ·
    Share on: mastodon facebook linkedin bluesky copy
    That was a fun break.
    Read More
    • ««
    • «
    • 41
    • 42
    • 43
    • 44
    • 45
    • »
    • »»

Chrissy LeMaire

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

GenAI book

Buy the MEAP 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