Challenge your Database – Oracle (part. 2)
How-to check how many SQL queries can be runned during a defined time on your Oracle server? Let's see Challenge your Database – MS SQL (part. 1) | Challenge your Database – Oracle (part. 2)
View ArticleRestart computer if…
I like to find new needs to fill... Once again, I found one today on LinkedIn: Sambasiva Rao K. asked for some help on the "PowerShell Power Users" LinkedIn discussion group: I have a requirement...
View ArticleCheck-BrokenLinks
Tired of using 'System.Net.WebClient' as I am? Upgrade to PowerShell v3 and use Invoke-WebRequest instead! My first application of Invoke-WebRequest is to create a broken links checker for my website....
View ArticleCheck-SSL
How-to get a SSL certificate expiration date and send an email alert if a defined threshold is exceeded, from a remote place. Check-SSL | Add-SSLCertificate | Create a self signed SSL certificate
View ArticleTest Your SQL Server Backups with PowerShell
The best way of checking SQL Server backups is to restore them and run DBCC CHECKDB on the restored database. To do this regularly means that you need to automate the task. Allen White That's right....
View ArticleWorking in and with Temporary Folders
Sometimes, we have to create a (totally random named) temporary folder, do some stuff in it and then delete everything. Here's the way
View ArticleCreate-NLBCluster
Network Load Balancing (NLB) didn't get a chance to have a new mmc to manage it in Windows 2008; we still have to use the old one inherited from Windows 2003. No way! Now we have a complete set of...
View ArticleMirror-Database
Database mirroring is a solution for increasing the availability of a SQL Server database. Mirroring is implemented on a per-database basis and works only with databases that use the full recovery...
View ArticleCheck-PasswordExpiration
Because 'Password never expires' is a really bad option for an administrator... For those who use their Active Directory account (the administrative one...) to connect to remote server roles through an...
View ArticleEnhanced profile – Display my custom functions
Somehow, I can be compared to a goldfish : my memory is really, really poor... And I do eat fish! But no, I can't help... Sometimes I wrote a usefull function that I embed in my profile and some weeks...
View ArticleConvert value in CSV file
Someone asked me recently how to convert a field value in a CSV file before to process the file with Log Parser. The value in this example is in bytes and needs to be converted to terabytes. The column...
View ArticleYAWPU
YAW what!? No, I’m not trying to learn some Iroquoian language. That’s just the acronym of the useless script I just wrote to demonstrate a friend how Write-Progress can be hijacked. Thats why I called...
View ArticleSelf-Destruct
Sometimes we need want to play secret agents, sometimes we just want to remove our trail. Remote execution is one thing and then, sometimes, for non-legitimate purpose we need a local script to be...
View ArticleSQL Server Databases Backup
Based on Olaf Helper's work (http://social.technet.microsoft.com/wiki/contents/articles/900.how-to-sql-server-databases-backup-with-powershell-en-us.aspx), here's the script to back up all non-system...
View ArticleChallenge your Database – MS SQL (part. 1)
How-to check how many SQL queries can be runned during a defined time on your MS SQL server? Let's see Challenge your Database – MS SQL (part. 1) | Challenge your Database – Oracle (part. 2)
View Article