Powershell Tip #4 - Enumerate all the Farm Administrators of SharePoint

by rahul 6/8/2012 1:59:42 PM
In SharePoint, if you want to enumerate all the users in the Farm Administrators group, you can use the following script. [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") #Provide the URL of SharePoint Central Administration $caURL = "http://sp2010... [More]


Powershell Tip #3 - Enumerate all Content Databases in a MOSS 2007 farm

by rahul 5/28/2012 3:21:47 PM
Want to enumerate all the Content databases of a MOSS 2007 Farm using Powershell? Use the following script. It would return all the Content Databases along with Web Application name in an XML file. [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") $WebServic... [More]


Powershell Tip #2 - How to delete older IIS log files from all servers

by rahul 5/27/2012 12:59:14 AM
So you have a lot of IIS Servers to manage and the logs are taking up space? No worries, use/modify the following script and schedule a daily job to delete the older log files automatically every day. This script assumes that you have all the log files in the same location. #Write down all the se... [More]


Powershell Tip #1 - How to find if a particular Windows Security patch is installed?

by rahul 5/22/2012 6:58:16 PM
You can use the following one liner to find out if a Windows Patch is installed on any machine using PowerShell. Get-WmiObject Win32_QuickFixEngineering -Computer COMPUTER_NAME| where {$_.HotfixID -LIKE "*2683*"} The output is… Until next time, Rahul   Quote of t... [More]


Rahul Soni

Rahul Soni  Twitter

 LinkedIn

 Facebook

 Email me



Vivek Kumbhar

Vivek Kumbhar  Twitter

 LinkedIn

 Facebook

 Email me


Stack Exchange

profile for Vivek at Server Fault, Q&A for system administrators and IT professionals

profile for Rahul Soni at Stack Overflow, Q&A for professional and enthusiast programmers

Calendar

<<  June 2013  >>
MoTuWeThFrSaSu
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567

View posts in large calendar

All Items
Sign in

Visit Microsoft's Site

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2013, Rahul Soni

Powered by BlogEngine.NET 1.4.5.0