Get-childitem -recurse -file | Unblock-file Extra Quality Instant
Get-Content -Path "downloaded.exe" -Stream Zone.Identifier Sample output:
param( [Parameter(Mandatory=$false)] [string]$Path = ".", [Parameter(Mandatory=$false)] [switch]$WhatIf, get-childitem -recurse -file | unblock-file
if ($WhatIf) Select-Object FullName
$files = Get-ChildItem -Path $Path -Recurse -File $blockedFiles = @() Get-Content -Path "downloaded
[Parameter(Mandatory=$false)] [switch]$Confirm ) get-childitem -recurse -file | unblock-file
$blockedFiles | Unblock-File Write-Host "Unblocked $($blockedFiles.Count) files" -ForegroundColor Green