Cmdlets/Get-SMATCheckedOutFiles/Get-SMATCheckedOutFiles.ps1
<#
Author:Roger Cormier Company:Microsoft Description: This cmdlet will parse through a SMAT Checked Out Files report (in csv) and optionally send an e-mail to the user summarizing their checked out files #> [cmdletbinding()] param( [parameter(Mandatory=$True, position=0)] [URI]$CSVFile ) $CheckedOutFiles = Import-Csv $CSVFile.OriginalString $UniqueUsers = $CheckedOutFiles | Sort-Object CheckedOutUser -Unique | select CheckedOutUser write-host "Hello" |