Powershell Script not running under scheduled task

Hi All, If you will search for “Powershell Script not running under scheduled task” , you will find dozens of article . There are number of ways to achive that I basically use batch file approach but the issue I am talking about is a bit different. Only one of my powershell script was not…

Delete files older than X days – remotely

Hi Readers, I am sharing a script which I have written to remove logs from servers remotely. This script run from a single server & remotely removes logs. This method can be used for all windows related products, I have used it for sharepoint, exchange, BB Extract the zip file, change the variables under define variables.…

Start & Stop IIS 6, IIS 7

There are some ways to start & stop IIS, I am listing few ways. IIS 6.0 To Stop: net stop w3svc   net stop iisadmin   To Start net start iisadmin   net start w3svc IIS 7.0 To Stop net stop WAS  press ENTER; type Y and then press ENTER to also stop W3SVC To…