Write a String to the Registry with VB6
Just a little snippet which will show you how to write a string value to the registry with Visual Basic 6.
Just a little snippet which will show you how to write a string value to the registry with Visual Basic 6.
Like a lot of smartphone users, I like to take pictures. These pictures get automatically synced to my cloud storage, dumping them in a single folder called “Camera Roll”. I came up with a quick Powershell script to organize these photos by year and month.
I recently had a need write records from a database to text files, with one file per record. This post covers how I did it, with VBScript. This project was actually part of a much larger project, which in reality was one of those “Let’s see if I can do it” type of projects. It turned out successful,… Read More »
When you manage an Active Directory infrastructure that spans multiple sites, it is a good idea to test the ability of clients to successfully authenticate against domain controllers in other sites.
Need to find every workstation that a user has logged on to? Security event logs rolled over or you can’t otherwise get that info from the domain controllers? Here is a way to get it.
Some time ago, I wrote an app that required the ability to resolve hostnames to IP Addresses, and vice versa. After some searching around, I found this gem. I don’t recall exactly where I found it, but this little chunk of code has served me well, lo these many years. It contains two functions: The functions do exactly… Read More »
You can use this handy little script to find remote desktop sessions on all servers running in your Active Directory domain.
Getting the hostname from an IP address (or vice versa) is no great magic, and can be done easily with PowerShell, by simply leveraging .Net to do the work. We’ve all done something like this to get resolve an IP address: [System.Net.Dns]::GetHostEntry(“69.69.95.133”).HostName Or this to get an IP address from a hostname: [System.Net.DNS]::GetHostAddresses(“www.fortypoundhead.com”).IPAddressToString But did you ever notice… Read More »
Recently, I rebuilt my SCOM environment (don’t ask), re-attaching all the previously existing agents to the new installation. Lots of them came back as “Not Monitored”.
Computer not detecting external Hard Disk Drive? Probably you are looking for answers of that question and that’s why you are here. Extracting data form corrupt or inaccessible external hard drive isn’t an easy job and you might need to go through little advanced troubleshooting steps.