I can't tell you how many times I have had to reach out and touch multiple servers to add a service account to one of the systems local groups. This can be a time consuming endeavor when you get above a few machines. This post lists the code needed to add a user to the … Continue reading Remotely Add Users to the Local Admins Group with Powershell
Several years ago, I was tasked with putting together a script to output a list of all users and groups on a server. Additionally, management wanted to know the membership of the local groups. If the groups contained other groups, the contents of those groups should be listed as well.
If you deal with any private data, you may have a need to securely delete the file to ensure the data is non recoverable.
Windows PowerShell is a new task-based command-line shell and scripting language designed especially for system administration. Built on the .NET Framework, Windows PowerShell helps IT professionals and power users control and automate the administration of the Windows operating system and applications that run on Windows. Built-in Windows PowerShell commands, called cmdlets, let you manage the … Continue reading Powershell
How many times as an administrator do you hear about someones account being locked. It can be very problematic for the user, especially when they don't know where it is being locked out from.
Hello all, I am sure I am not the only one that has been working on something only to get weird error messages about access denied, only to realize that my password had expired.
I recently had users begin reporting issues where their citrix session printers were not being presented. The ultimate problem was that on the server, out of site of the user, an error 0x00000002 was being issued. Error 0x00000002
Here is a script you can use to check if a set of systems have some software installed, or list all applications installed on a set of servers. Copy the below, paste in a .ps1 file. The instructions are in the script.
When you want to determine the last time a system rebooted, it can be a real pain. You can remote to the server and check the sysinfo utility, or you can peruse the logs and make the determination. But if you just want to get the last boot time, you can use this little powershell … Continue reading Get Last Boot Time of a Server
This powershell script lists information about when a user was added to a given group. Download