Here is a simple powershell command to list databases that were not backed up in last 7 days.
Developer @ SQL Server Team, Microsoft
Hi Sethu…is there any chance…Im sheduling the task through shedule task in windows from one server to different server…database…
its not working for me….could u pls reply …how can i give database name….in $dbname field…im confused
Im talking about rebuilding index using powershell script …..if possible wats the best way to do it……task sheduler is in different server…and db is different server…and wats the format for giving db name in database name field
Fill in your details below or click an icon to log in:
You are commenting using your WordPress.com account. ( Log Out / Change )
You are commenting using your Twitter account. ( Log Out / Change )
You are commenting using your Facebook account. ( Log Out / Change )
You are commenting using your Google+ account. ( Log Out / Change )
Connecting to %s
Notify me of new comments via email.