Dear all; I have been writing a little VBScript for System Cleanups; It works with a small batch file which searches for OST files older than 365 days; Enjoy & Use it wisely Remember to test prior using! OST.BAT FILECODE : cd\ cd users forfiles /s /m *.ost /d -365 /c "cmd /c del … Continue reading VBS CLEANUP SCRIPT FOR WINDOWS 7 /8 /10
Month: November 2018
Tracking User Logins with Login/Logoff Scripts
Hi ; Even though we can use event viewer for this; there is a nice way to keep a track of the Remote Desktop Logins using a little script; In order to do so : 1. Log in to your server & Write the following bat script on : c:\Reporting\logon.bat( Create folder & file ) … Continue reading Tracking User Logins with Login/Logoff Scripts
Veeam Powershell Check Failed /Warning Status
Hi This is a nice script that will output in 1 line the failed/warning backups of the Veeam&Backup - Replication server Just copy and paste this: Add-PSSnapin -Name VeeamPSSnapIn -ErrorAction SilentlyContinue;$VJobs = Get-VBRJob;echo "Failed or Warning jobs";echo "";ForEach ($VJob in $VJobs) {;if ( $VJob.Info.LatestStatus -eq "Warning" -or $VJob.Info.LatestStatus -eq "Failed") {echo $VJob.Info.Name;echo $VJob.Info.LatestStatus;}}
Delete all of the Mailbox content using Exchange PowerShell
Hi ; In occasional cases you may be needing to delete the mailbox content from an user; In order to do so run the following from the Exchange Console / Verify prior using the second command the items : Get-MailboxFolderStatistics -Identity username@company.com | Select FolderPath,ItemsInFolder Run the serach to delete Search-Mailbox -Identity "Example User" -SearchQuery … Continue reading Delete all of the Mailbox content using Exchange PowerShell
Veeam & Powershell: Sync Cloud Repository
This Script will Sync your Cloud repository for Veeam Backup & Replication: Add-PSSnapin -Name VeeamPSSnapIn -ErrorAction SilentlyContinue Get-VBRBackupRepository |where-object {$_.Type -eq "cloud"}|Sync-VBRBackupRepository