Recursively Unblock Files Powershell Online
# Add to $PROFILE function ub Get-ChildItem -Path $args[0] -File -Recurse Set-Alias -Name unblock-all -Value ub Then simply use:
$extensions = $typeFilters[$Filter]
if ($extensions.Count -gt 0) Where-Object $extensions -contains $_.Extension.ToLower() else $files = $allFiles recursively unblock files powershell
unblock-all "C:\Downloads" This feature is useful for safely handling downloaded files that Windows marks with an alternate data stream (Zone.Identifier) to indicate they came from the internet. # Add to $PROFILE function ub Get-ChildItem -Path