by Feb 8, 2012

< #   .SYNOPSIS      This script defines a function that tests to      see if a file is open.  .DESCRIPTION      This script used the System.Io.FileStream class       and the FileInfo class to try to open a file      stream for write. If it fails, we return   $false ,      else we close the file and return   $True   .NOTES      File Name  : Test-FileOpen.ps1      Author     : Thomas Lee – tfl @psp… Read the full text.