Extract Mircrosoft Active Directory GPO report via PowerShell

Extract Mircrosoft Active Directory GPO report via PowerShell

Greetings! Domain policy management is one of critical task. We divide polices into multiple GPO depending upon our requirement. PowerShell is one of the powerful tool we have now. In this article we will see how we can create reports for our GPO using PowerShell. First step you need GroupPolicy available on your machine. It is part of Group Policy Management tools which is available as feature on our Windows Server. Once you have installed this feature you have all cmdlets available which are required to manage GPO using PowerShell. You can check…Read more …
Get all snapshots in your AWS environment using AWS lambda

Get all snapshots in your AWS environment using AWS lambda

Greetings! Managing snapshots is very critical and complex topic in any environment. You should keep a track of snapshots with their creation date. You should be aware when one snapshot should be deleted, as it would be consuming space. In this lambda script you can get consolidated report for all snapshots in your environment. I have excluded the snapshots which are copied from same or different zone. Those snapshots have volume id as vol-ffffffff. I think those should be managed separately but if you want to track those also you can simply remove…Read more …
Search for particular tag name for all instances using AWS lambda

Search for particular tag name for all instances using AWS lambda

Greetings! Tags are very helpful feature in AWS. You can store information related to your business or resource configuration using tags. It helps us to query for resources based on particular condition. This lambda function queries for name tag for all instances in particular region in a particular account and returns its value. You can find script here. Happy coding!  Read more …

Spanning Tree Protocal and Portfast

Purpose of STP is to remove redundant paths in network. The redundant paths could be creating loops in network. Loop free path is created using root bridge. Loops in network are determined and links which are redundant are blocked. Algorithm used to execute this process is Spanning-Tree algorithm. In this protocol STA chooses reference point called Root Bridge, all available paths are determined in reference to this root bridge. If there is redundant paths then it chooses best path and block other paths. Messages are exchanged between switches to gather information from all…Read more …

Copy administrative privileges among users using Powershell for Citrix Xenapp

In this article we would copy administrative privileges of one user to another. It is very tedious task to manage custom privileges using access management console. Let us assume we have a new person joining in team and he needs to be provided custom privileges as other team mates. The shortest and easy way to do this is using Powershell. First we need to create administrator with custom which you can do by using information from my previous article. Now we have custom user. Let us assume the name of user joining is…Read more …

Citrix MFCOM script to get list of servers and their IP addresses on a farm

By using the following script you can get the list of servers along with their IP addresses published on a farm. The result would be generated in MS Excel. So you must have MS Excel installed on your system in order to execute it. Code: <package><job id=" FarmApplications"> <runtime> <description> List Servers and their IP address for all apps in the farm. </description> </runtime> <reference object="MetaFrameCOM.MetaFrameFarm"/> <script language="VBScript"> Dim wkbNew Set objExcel = CreateObject("Excel.Application") Set wkbNew = objExcel.Workbooks.Add set wksNew = wkbNew.Worksheets(1) wksNew.Activate wksNew.Application.Visible = True Dim theFarm,AppName ,anApp,aServer, Array() Set oShell =…Read more …