Tag: windows

Idera Up.Time Agent Password Setter v1.1

[breadcrumb]

This PowerShell script is specific to a piece of software called Idera Up.Time Infrastructure Monitor. We have recently started using this great monitoring application, but I found some parts of rolling it out across our infrastructure a little bit tedious or prone to human error. One such part being setting the up.time agent’s password.» Continue reading...


Mass NTFS Compression Tool v1.5

[breadcrumb]

This PowerShell tool allows you to apply NTFS compression on mass with full visibility of what files are being compressed. The tool runs from a CSV file with at least two columns, “Name” and “Path”. This essentially matches a report exported from Treesize.


Once the script is launched, a progress bar will be displayed at the top of the screen showing how far through the CSV file the script has run, giving an indication of how many files are left to compress.» Continue reading...


Scripts Section

As you may or may not know, I work in the IT sector, specifically as a Production Support analyst dealing with server & application support.

I am not a big fan of mundane and tedious tasks, who is? We've had a lot of talk about PowerShell in the office recently, but very few people seem to understand what it is, how to use it, or have the patience to learn any sort of scripting, so I've taken this as a great opportunity to get myself involved and learn this great language.

As I write new scripts, any that I feel would be useful to others, more so those that are not specific to my environment, I will be sharing them online, so I have created a scripts section here. Any scripts I upload are free to use and by all means feel free to ask questions and critique my scripts. I am only just starting out in the world of PowerShell, so I expect my scripts won't be perfect or as tidy as they could be. I'm always happy to help others out and appreciate it when people critique my work as it helps me better my skills.

The first script I have uploaded is my Local Administrator Tool v1.0. This is a script I have written as I have found myself in a position where I have a service account that must be a local administrator on around 400 servers. I don't particularly fancy logging onto 400 servers and manually granting this account local administrator rights, so I've created a script that I can just pass a username (or a list of users) and a list of servers (or just the one server if I fancied). It'll then go off and, so long as the account running it has the permissions to do so, grant the local administrator rights to the specified account. Many hours saved! Hooray!


Local Administrator Tool v1.0

[breadcrumb]

This PowerShell tool allows easy and quick automation of local administrator rights on Windows boxes. You can specify a user & a server, a list of users & a list of servers, or a mixture of both.


Download the Local Administrator Tool v1.0 here!



Source Code