FileIntegrity/IntegrityStream on Non-mirrored ReFS Partitions After Format

If you want to take advantage of IntegrityStreams on non-mirrored partitions (which you can create on Windows 8.1 by creating the DWORD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\MiniNT\AllowRefsFormatOverNonmirrorVolume and setting it to 1) and you forgot to use the /i enable option with format you can use Powershell to easily add the attribute both for new and existing files.