netnerds.net
Home
AI Integration Series
AI Usage
About
Subscribe
github bluesky youtube github-star rss
  • Send Ctrl-Alt-Delete to Terminal Services Client

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

    Your answer is Ctrl-Alt-End.

    Have fun!


    Read More
  • SQL: Quickly count instances of a variable within a string.

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

    Using SQL and want to know how many times 'http' appears in a string using about one line of code? Find out by creatively using the replace() function.

    Declare @myStr varchar(1500), @countStr varchar(100) Set @myStr = 'https://www.buydrugshere.com go here! https://www.onlinemortage.com right there!' Set @countStr = …


    Read More
  • Remotely Reset Administrator Password on iLO without Reboot

    calendar Apr 26, 2006 · 3 min read  ·
    Share on: mastodon facebook linkedin bluesky copy
    Last night I got locked out of my Compaq DL360's iLO. I searched the web to find how to reset the Administrator password and read that, for the most part, I'd have to be at the console. Bah! My servers are in San Jose and I'm up here in San Francisco, I didn't want to make a trip just to reset my passwords. I continued …
    Read More
  • VBScript: Ban IPs in IIS Programatically

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

    I used the following code a while back as part of a solution to automate the banning of spammers via their IP address.

    'Here, we will pretend this is an imported list Dim XMLarr(1) XMLarr(0) = "65.19.238.21" XMLarr(1) = "198.31.175.100"

    Set objIIS = GetObject("IIS://localhost/w3svc") …


    Read More
  • ASP: Easily Parse and Consume RSS in Classic ASP

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

    This script should work right out of the box..

    <% Call getNews(10)

    Sub getNEWS(howManyResults) myRSSfile = "https://rss.news.yahoo.com/rss/tech"

    Set xmlHttp = Server.CreateObject("MSXML2.XMLHTTP.4.0") xmlHttp.Open "Get", myRSSfile, false xmlHttp.Send() myXML = xmlHttp.ResponseText

    Set …


    Read More
  • PHP & Javascript & ASP: Format ATOM Date

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

    I'm surprised this isn't built in.. I had the hardest time finding how to convert ATOM time (found in many RSS feeds) to something human-readable. The cleanest solution I have found thus far is this:

    That outputs "04.22.06" but you can use any of the formats available from php date().

    Here is basically the …


    Read More
  • mod_rewrite: Forbid Unsavory Visitors

    calendar Apr 23, 2006 · 2 min read  ·
    Share on: mastodon facebook linkedin bluesky copy
    I have a another blog that mentions random words like "daughter","school", "dirty", "bad", "dog", "herself", "year", "nasty" and "old." Until I started revewing my HTTP referers, It never even occured to me that nasty perverts …
    Read More
  • Quickcode Wordpress Plugin

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

    I released my first Wordpress plugin last night! It's a script that hides/unhides and slightly formats blocks of code. I use it heavily on this site. Here's an example:

    a.quickcode { padding-left: 20px; background: url('/wp-includes/images/quickcode.gif') no-repeat; }

    You can read more abou the plugin here: QuickCode.


    Read More
  • VBScript: Delete ALL E-mails from the Exchange 2003 Queue

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

    Recently my Exchange server got pounded by spammers that were attacking my NDR (non delivery report) capabilities. Turning off NDRs helped 75% and I explored Exchange quite a bit along the way to figure out that last 25%.

    It seems that I had 180 emails stuck in my queue. I was looking at my logs and ethereal and it …


    Read More
  • VBScript: Monitor Processes and Restart if Necessary

    calendar Apr 13, 2006 · 2 min read  ·
    Share on: mastodon facebook linkedin bluesky copy
    This may only be useful for wscript.exe so it may not have universal appeal but I'll list it anyway. The first script is to be inserted at the top of the wscript file you'd like to monitor. The second file is to be run as a scheduled task. SQL Server is used to keep track of the PIDs. SQL Server Express is free so you …
    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