netnerds.net
Home
Book
Links icon
Data Platform GitHub Org GitHub Profile GitHub Star Profile MVP Profile Twitch
About
Subscribe
  • VBSCRIPT: Add New Domain's Admins to Local Administrators Programmatically

    Jul 28, 2006 · 3 min read  ·
    Share on:

    In order for Active Directory Migration Tool (ADMT) to install its Agent on a newly migrated computer, the user running the ADMT tool must have local Administrator access. Otherwise, the error log shows something similar to the following: WRN1:7290 Processor architecture for machine \NT4MACHINE is unknown, Error …


    Read More
  • VBScript: Sort Array

    Jul 28, 2006 · 1 min read  ·
    Share on:

    Found this code and wanted to bookmark it... from VisualBasicScript.com's Forums Function fSortArray(aSortThisArray) Set oArrayList = CreateObject("System.Collections.ArrayList" ) For iElement = 0 To UBound(aSortThisArray) oArrayList.Add aSortThisArray(iElement) Next oArrayList.Sort set fSortArray = …


    Read More
  • MACBOOK: Unexpected Shutdowns

    Jul 24, 2006 · 2 min read  ·
    Share on:

    Dang, Gina! My black Macbook has been a pain this past week. I'm having unexpected shutdowns galore. Called Apple about 5 times and they offered to replace it as it is a DOA. I've read around the Internet that others are experiencing this problem... Many have concluded that it is a faulty logic board. Here are a few of …


    Read More
  • VBScript: Traverse Directories & Subdirectories Snippet

    Jul 20, 2006 · 1 min read  ·
    Share on:

    This snippet has come in handy quite a few times for me... Call ListFolderContents("C:\Windows\System32\Drivers") Sub ListFolderContents(path) set fs = CreateObject("Scripting.FileSystemObject") set folder = fs.GetFolder(path) Msgbox folder.path For each item in folder.SubFolders …


    Read More
  • ADMT: Auto-Expired Password Clean-Up

    Jul 14, 2006 · 1 min read  ·
    Share on:

    I'm using Microsoft's Active Directory Migration Tool to migrate users from an NT 4.0 Domain to a Win2k3 Domain. The process seems mostly flawless so far except that the password settings (not the password itself) are lost after migrating the users and their passwords. Suddenly, all migrated users on the new domain …


    Read More
  • IIS: Instantly Ban IPs Attempting to Login to MS-FTP as Administrator

    Jul 3, 2006 · 5 min read  ·
    Share on:

    UPDATE 12/18/06: The startup script has been modified slightly (cscript.exe was changed to wscript.exe). Now, console users will no longer encounter a blank black box upon login. UPDATE 11/21/06: Now that banning at the IP level has been added to the script, offending users are completely banned before they can even …


    Read More
  • Web 2.0 Bullshit Generator

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

    For those of you who loved dack.com's Web Economy Bullshit Generator back in the day, you will be pleased to know that there is a new BS generator for "Web 2.0". Web 2.0..hmm.. this O'reilly-infused buzzword was probably generated over at dack.com now that I think about it. So go on and play. Before you know …


    Read More
  • /bin/sh: Delete files with weird characters in Unix

    Jun 16, 2006 · 1 min read  ·
    Share on:

    I recently used "tar" improperly and inadvertently created a file which seemed near impossible to delete. The file started with two dashes; it was named --exclude.tgz. I issued each of the following commands with no luck: boudreaux:~ # rm --exclude.tgz rm: unrecognized option `--exclude' Try `rm --help' for …


    Read More
  • Best Snippet Ever!

    Jun 12, 2006 · 1 min read  ·
    Share on:

    My friend Dave pasted this awesome code to me. It comes from The Daily WTF, a website dedicated to whack coding. I.like(bigButts) && I.canLie(false); otherBrothers.canDeny(false); when (girl.walksIn()) { if (girl.hasIttyBittyWaist() && roundThing.getLocation()==your.FACE) { you.getSprung(); } }


    Read More
  • Adminpak for Windows Server 2003 R2

    Jun 5, 2006 · 1 min read  ·
    Share on:

    Update: You can now download Windows Server 2003 R2 here: microsoft.com. Today I attempted to install Windows Server 2003 Administration Tools Pack (adminpak.msi) but the installer instantly quit with the message "Windows Server 2003 Administration Tools Pack can only be installed on Windows XP Professional with …


    Read More
    • ««
    • «
    • 38
    • 39
    • 40
    • 41
    • 42
    • »
    • »»

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

  • Making VS Code Themes with ChatGPT
  • Update-Module dbatools Authenticode Issuer Error
  • Install-DbaMaintenanceSolution now supports auto-scheduling
  • [Solved] OmniSharp 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

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 ai1 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