database-tools

Adding Leading Zeroes

If you need numbers with leading zeroes, for example for server names, here are two approaches. First, you can turn the number into a string, then...

read more

Displaying Message Box

If you’d like to show a default MessageBox with some buttons for the user to click, try this function: function Show-MessageBox {...

read more

Displaying Input Box

If you’d like to open a quick and dirty input box to prompt a user for some data, you could access Microsoft Visual Basic and...

read more

Reading Text Files Fast

There are plenty of ways how PowerShell can read in text files, and they can differ considerably in time. Check for yourself. The examples below...

read more

Configuring Network Adapter

Here is a simple example illustrating how you assign IP address, gateway, and DNS server to a network adapter. The script lists all active network...

read more
1 68 69 70 71 72 198