Archive: Scripts
-
May 15, 2011
2 CommentsRecycle an Application Pool on remote server using Powershell
The following script will let you recycle an Application Pool on a remote server running IIS 6 or IIS 7 (with IIS 6 WMI Compatibility Features installed). The script accepts 2 parameters: a server name and an application pools name, in the following format: PS >.\RecycleIIsAppPool.ps1 server_name "application_pool_name" To obtain a list of application pools...
-
May 14, 2011
No CommentsList IIS application pools on remote server using Powershell
The following script will let you query remote IIS server and return a list of the application pools on that server. It is assumed that you run the script with domain account that is a member of Administrators group on the remote computer but the script can be easily modified to use other credentials. This...
-
Oct 31, 2010
No CommentsSend email with folder sizes report in CSV from Powershell
We’ve recently rolled out Folder Redirection and although we haven’t implemended quotas we wanted to be able to monitor the amount of space redirected folders are using on the server. Following script generates the report in CSV format: Name | Size(MB) | Path and sends it to email address. ReportUserFoldersSize.ps1: $path = "Path_To_Folders_Root" $EmailFrom =...
-
Oct 27, 2010
No CommentsSend email with Exchange mailbox statistics in CSV from Powershell
Would you like to receive weekly email from your Exchange server with mailbox statistics attached in a CSV file? Script below will generate CSV file with the following format: Name | ItemCount | Size | DeletedItemCount | DeletedItemsSize | MailboxDatabase and email it to address specified. ReportMailboxSizes.ps1: $EmailFrom = "from_address" $EmailTo = "to_address" $EmailSubject =...
-
Aug 08, 2010
2 CommentsData Protection Manager 2010 offsite backup to USB drives using Firestreamer VTL
Firestreamer is a software utility that enables the existing tape backup software to access a wide range of non-tape storage media, making possible long-term and off-site retention of data without the need for tape drives. It has an impressive list of media it supports and works really well with Microsoft Data Protection Manager 2010. For...
