powershell
Download reference: https://gist.github.com/HarmJ0y/bb48307ffa663256e239
Base64 encode
[Convert]::ToBase64String((Get-Content -path "C:\Windows\system32\drivers\etc\hosts" -Encoding byte))
Calculate MD5 hash
Get-FileHash "C:\Windows\system32\drivers\etc\hosts" -Algorithm MD5 | select Hash
Alternative to grep
Select-String -Path "file.txt" -Pattern "searchTerm"
Alternative to wc -l
Get-Content file.txt | Measure-Object -Line