An Amazon Machine Image (AMI) is an AWS resource we use to deploy Amazon EC2(Elastic Compute Cloud) instances. Ideally, an AMI contains the Operating System(Windows, Linux etc.) and a list of customization made on it to meet specific requirements. It helps to quickly bootstrap one or more EC2 instances with similar configuration. As per Amazon…
Tag: Windows
Create Local Group and User on Windows Servers remotely
As a Windows Server Administrator we often need to manage local user accounts and groups on servers.It could be very tedious when you need to manage this on hundreds or thousands of servers. However, we can make it less tedious and more efficient by using scripts. Today, I am going to share a powershell script…
List Printers on a Windows Print Server
This post is about a small script to connect a Windows Print Server remotely and list all Printers attached to the Server.It will also provide printer IP Address, printer status etc. I will use Microsoft Windows Operating System WMI provider in Powershell to connect and generate details from the print server. Through this script, I…
Change Ownership of Directories using Powershell
Today I am going to share a small , however, very useful script to change Ownership of a list of Windows Directories / CIFS using Powershell. Being a Windows System Administrator, we often find ourselves in situations where we have issues to access or change NTFS permission on Directories. We tend to update or take…
Automated File share audit using Powershell
For any organization, it is very important to have proper Governance around File server and share access management. For regulated Organization, it is really very critical to do regular auditing on shares, access management and identify any discrimination and mitigate those ASAP. In recent past, I worked on a project for one customer where we…
WinRM status check using Powershell
Here is another small script snippet I used in one of my project to quickly check status of WinRM setup on a list of servers I was managing. This was part of a bigger project work, and this data was important for my project on whether WinRM is setup as per requirements or not. You…