Use ShouldProcess in PowerShell Functions
[Read More]
New Function: Search-FileContent
New Function Search-FileContent ```powershell #Requires -Version 3.0 function Search-FileContent { <# .SYNOPSIS Generates a listing of files containing search pattern text .DESCRIPTION Generates a listing of files containing search pattern text .PARAMETER SearchPath The base path to be searched .PARAMETER SearchPattern The patterne to be located .EXAMPLE PS C:> Search-FileContent...
[Read More]
Find string in multiple files
Find string in multiple files
[Read More]
Find content in files with PowerShell
Find content in files with PowerShell
[Read More]
New Function: Get-DateRFC1123
function Get-DateRFC1123() {
[string]$date_string = ([System.DateTime]::UtcNow | Get-Date -Format R).ToString()
return $date_string
}
[Read More]