I am trying to have PowerShell unblock a file in Win2K8 R2.
Does anyone have a pointer as to the syntax?
To unblock a folder and it's subfolder recursive (>= PowerShell v3) you can use the Get-ChildItem (gci) command:
Get-ChildItem "C:\Temp\" -recurse | Unblock-File
where C:\Temp is the starting folder.
C:\Temp