This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Get-FileEncodingOfFilesInFolder | |
{ | |
[CmdletBinding()] Param ( | |
[Parameter(Mandatory = $True, ValueFromPipelineByPropertyName = $True)] [string]$Path, [string]$pattern | |
) | |
$files = Get-ChildItem -path $Path $pattern -Recurse | Select-Object FullName | |
$encodings = @{} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Quartz; | |
using Quartz.Impl; | |
namespace Tasks | |
{ | |
public class MaintenanceJob : IJob | |
{ | |
public void Execute(IJobExecutionContext context) | |
{ | |
var ftpLocation = context.JobDetail.JobDataMap.Get("ftp.location"); |
NewerOlder