Blog

PowerShell Examples in my GitHub Repo

I just uploaded a few of my PowerShell samples to GitHub at https://github.com/Jose-Barreto/PowerShell. Many were mentioned in previous blog posts: PowerShell Examples: Calculating the value of Pi PowerShell Examples: Calculating Prime Numbers PowerShell Examples: Generating Random Names PowerShell Examples: Counting words in a text file PowerShell Examples – Random words and their popularity via Bing PowerShell Examples: Using Bing to … Continue reading PowerShell Examples in my GitHub Repo

Brazilian Saying: Soft water on hard stone

Portuguese: Água mole em pedra dura tanto bate até que fura Literal translation: Soft water on hard stone hits until it bores through English equivalent: Little strokes fell big oaks Meaning: If you persevere long enough, the desired effect will eventually be achieved. Note: This blog is part of a series on Brazilian Sayings (in … Continue reading Brazilian Saying: Soft water on hard stone

Brazilian Saying: Without papers

Portuguese: Sem lenço, sem documento. Literal translation: Without a handkerchief, without papers. English equivalent: Without a care in the world. Meaning: Having no concerns or worries. This assumes that someone that bothers to carry papers and a handkerchief is worried about what lies ahead. Mentioned in (originated from?) the 1967 Brazilian song "Alegria, Alegria" by … Continue reading Brazilian Saying: Without papers

PowerShell script to check my backup by comparing file hashes

This sample PowerShell script compares the files in two different paths by calculating and comparing hashes for each file. I use it to compare my backup to the source data, after the backup is complete.   $SourcePath = "D:" $BackupPath = "F:Backup 2018-05-27" Write-Progress -Activity "Getting File List" -PercentComplete 0 $FileList = DIR $SourcePath -Recurse … Continue reading PowerShell script to check my backup by comparing file hashes

Links about OneDrive Ransomware Detection and OneDrive Files Restore

Blogs and Announcements Office Blogs: Defend yourself from cybercrime with new Office 365 capabilities By Kirk Koenigsbauer, Corporate Vice President for Office, Microsoft https://blogs.office.com/en-us/2018/04/05/defend-yourself-from-cybercrime-with-new-office-365-capabilities/ OneDrive Blog: OneDrive Files Restore and Windows Defender takes ransomware protection one step further By Aaron Rimmer is the OneDrive Product Marketing Group Manager, Microsoft https://techcommunity.microsoft.com/t5/OneDrive-Blog/OneDrive-Files-Restore-and-Windows-Defender-takes-ransomware/ba-p/188001 OneDrive UserVoice: Provide Ransomware detection … Continue reading Links about OneDrive Ransomware Detection and OneDrive Files Restore

Open sourcing SuperDir, a file manager for CP/M written in the 1980s

Microsoft has open sourced the 1990s File Manager for Windows 3.0 this week. You can check it out at https://github.com/Microsoft/winfile/ So I went even further and open sourced my 1980s File Manager for the CP/M OS written in Turbo Pascal, which is called SuperDir: https://github.com/Jose-Barreto/SuperDir Back then, the OS had only 6 resident commands: DIR, ERA, REN, … Continue reading Open sourcing SuperDir, a file manager for CP/M written in the 1980s