Category: Scripts

VMware Storage and PowerShell #MVPHour #PowerShell

Well I’ve been buried lately under a lot of LUNs. Spring is over and a customer I’m at has forgotten to do their spring cleaning! Needless to say, the LUN presentation and maintenance to their VMware clusters is a mess! In order to audit the system and ensure things were going in my favor, I wrote quite a few PowerShell code blocks/1 liners.

Read More

Active Directory – When was this user/computer Created #PowerShell #MVPHour #

A pretty simple request came across my desk today. I was requested to send a report of users that were created after a specific date. Do you remember the Windows Server 2003 and prior? Before PowerShell? We had to use what I’ll term loosely as “wonderful” LDAP queries. Also the query result was pure text, we couldn’t do anything easily with it short of magical text parsing! Well here is my PowerShell script I quickly whipped up!

Read More

#PowerShell – The Patch Solution – Part 5

Having an email in your inbox outlining which machines in your organization that are going to be patched in the next day or two is every service owner/managers dream. So simple and proactive. The email also outlines when the machines are going to be patched and displays how many outstanding updates there are. This is a summary of what will happen in the days to come. Keep reading to see how you can dive into seeing the details of what is about to happen in your organization.

Read More

#PowerShell – Setting SQL Server Memory Allocation (Maximum and Minimum)

If you’ve ever run an installation of SQL Server, you’ll know it’s a database, and databases love, love, love memory. By design and by default, Microsoft SQL Server thinks it’s the only process on the system and is therefore given all the available memory and CPUs. As a best practice, I limit this. Here is the script I use to edit these values.

Read More

PowerShell – The Patch Solution – Part 4

The previous posts on The Patch Solution have outlined the though process and goals to a patching strategy. Now it’s time to start taking that strategy and putting it into practice. Now that we have defined some of our goals (See

The Patch Solution – Part 3 post), we can start looking at how we reach those goals. In my opinion, one of the easiest goals to attain is reporting. This gives you an attainable goal which is completely measurable and trackable. Simply run a report, see where you’re at, update a few machines, run a report and see where you got to. The solutions that we try and come up with at TriCon Elite is all about being free and giving back to the community. We like to strive for secure and simple. For The Patch Solution, we opted to use Windows Server Update Services (WSUS).

Read More

Translate our Blog

Subscribe to our Blog

Authors

Microsoft MVP

MODE

Nutanix NTC

Veeam Vanguard

Follow me on Twitter

Follow @AllanRafuse on Twitter