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
Blog
Long time no post…
Hi! It's been a while since I last wrote a blog post here (or anywhere else). I used to post a lot when I was working on public facing features for Windows Server and the SMB file protocol. After that, I moved to the OneDrive team and worked on some internal stuff, continuing the trend … Continue reading Long time no post…
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
Brazilian Saying: To feed steak to a cat
Portuguese: Dar carne a gato. Literal translation: To feed steak to a cat. English equivalent: To loosen the ropes. Meaning: To make it easy for someone, particularly for someone smart or skilled. The cat is supposedly an efficient predator that can catch their own prey. Note: This blog is part of a series on Brazilian … Continue reading Brazilian Saying: To feed steak to a cat
Brazilian Saying: Two rabbits
Portuguese: Matar dois coelhos com uma cajadada só. Literal translation: To kill two rabbits with one blow of the stick. English equivalent: To kill two birds with one stone. Meaning: To achieve multiple results with a single action. Sometimes used simply as "matar dois coelhos" (to kill two rabbits), without the rest of the phrase. … Continue reading Brazilian Saying: Two rabbits
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
OneDrive Files Restore – User Guide
This guide is intended to help you use the new OneDrive Files Restore feature. 1. What is Files Restore? Files Restore allows OneDrive users to restore their files and folders to a previous point in time. It provides a simple way to restore your entire OneDrive after a catastrophic event like a virus/ransomware attack or … Continue reading OneDrive Files Restore – User Guide
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