netnerds.net
Home
Book
Links icon
Data Platform GitHub Org GitHub Profile GitHub Star Profile MVP Profile Twitch
About
Subscribe
  • ASP: Sustain Remote Cookie Sessions in an ASP/VBScript

    Apr 27, 2006 · 2 min read  ·
    Share on:

    I dug up this cold from my old netnerds blog. For Googlers wondering if sustaining a remote session is possible, the answer is yes; I've sustained remote cookie sessions using both ASP & VBScript. I've provided simplified code below. It should be self explanatory. If not, drop me a comment and I'll explain it. …


    Read More
  • Change Exchange Server's Administrative Group using adsiedit

    Apr 27, 2006 · 2 min read  ·
    Share on:

    The MSPress Exchange Training Kit supposedly says that you must uninstall/reinstall an Exchange Server in order to move it from one Administrative Group to another. I managed to do change the administrative group for one of my servers today using adsiedit. Here’s how I did it. - Install the Support Tools from Microsoft …


    Read More
  • FreeBSD to SuSE

    Apr 27, 2006 · 1 min read  ·
    Share on:

    Awhile back I tried out FreeBSD for a couple months. I was used to SuSE (which I'm back to) so I ran a few commands to make my environment a bit more familiar. If you are a recent convert, you can use this code too. whereis bash chsh change shell to bash (used sysinstall to install bash) ln -s …


    Read More
  • Send Ctrl-Alt-Delete to Terminal Services Client

    Apr 27, 2006 · 1 min read  ·
    Share on:

    Your answer is Ctrl-Alt-End. Have fun!


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

    Apr 27, 2006 · 1 min read  ·
    Share on:

    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

    Apr 26, 2006 · 3 min read  ·
    Share on:

    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

    Apr 26, 2006 · 1 min read  ·
    Share on:

    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

    Apr 24, 2006 · 1 min read  ·
    Share on:

    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

    Apr 24, 2006 · 1 min read  ·
    Share on:

    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

    Apr 23, 2006 · 2 min read  ·
    Share on:

    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
    • ««
    • «
    • 40
    • 41
    • 42
    • 43
    • 44
    • »
    • »»

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

  • Update-Module dbatools Authenticode Issuer Error
  • Install-DbaMaintenanceSolution now supports auto-scheduling
  • [Solved] OmniSharp.Extensions.JsonRpc.RpcErrorException in VS Code Dev Containers for PowerShell-based Azure Functions
  • Exploring GitHub Copilot Chat
  • Offline Installation of dbatools 2.0 with the dbatools.library Dependency
  • New Encryption and Certificate Defaults in Microsoft's SQL Server Connection Provider
  • What's new and different in dbatools 2.0
  • Don't waste your time with ($PSEdition -eq 'Core') in your PowerShell module manifest/psd1

categories

sql-server 122 powershell 117 general 63 security 60 windows 47 sharepoint 41 active-directory 37 linux 31 networking 30 vbscript 30 apple 24 virtualization 22 iis 19 github 8 apache 7
All Categories
active-directory37 apache7 apple24 asp-net2 azure-functions1 bi4 db24 devcontainers1 exchange7 general63 github8 iis19 linux31 livestreaming4 lync2 mastodon4 networking30 oracle1 powershell117 security60 sharepoint41 sql-server122 vbscript30 virtualization22 windows47 wpf7
[A~Z][0~9]
 

Copyright 2003 -  Chrissy LeMaire. All Rights Reserved