AD Group Membership (Member(s) and Member of) #powershell script to pull AD Group Membership using traditional ADSI method Will collect both Members and Member of Run the script in this format: .\ListGroupMembers.ps1 -DomainName mydomain.com -GroupName “Domain admins” <# .Synopsis List/Export Group Members of a Given...
Category: Powershell
List Remote Domain(s) Trusts & Functional Levels – Powershell Script
posted by: Murali
February 27, 2015
Powershell Script to List Multiple Remote Domain(s) Trusts and Functional Levels including the Trust Status. Copy all the Domains you wish to get this report run on a text file and name it “domains.txt” Place it in the same location as the script and run...
As an extension to my article on how to Audit Server Reboots, I have put forth a small script that might come handy. I consciously choose implementing WMI rather than inbuilt command lets as there were several Legacy OS’s still in our enterprise and using...
Check and Delete .BLG Files in “C:\PerfLogs\Admin” folder that are older than 2 days
posted by: Murali
December 18, 2014
Last night I was approached to script a tool that can Check and Delete .BLG Files in “C:\PerfLogs\Admin” folder that are older than 2 days. I choose #PowerShell for obvious reasons and here is something I put in real quick.. This script can be modified to...