29 Apr 2020
· 
· 
Tags:
PowerShell
The Get-ChildItemToDepth
function acts as a wrapper around Get-ChildItem facilitating recursive
traversal of a path to a specific depth. Whilst what’s covered should be
provider
agnostic, I’ll be focusing specifically on file system directories.
09 Feb 2020
· 
· 
Tags:
WindowsTaskScheduler,
ScheduledTask,
DateTime,
PowerShell
When creating a scheduled task trigger using the Task Scheduler UI, the setting Synchronize Across Time Zones is disabled by default. However, the PowerShell cmdlet New-ScheduledTaskTrigger exhibits the opposite behaviour. I wanted to understand the purpose of this setting in order to determine whether I should enable or disable it,...
25 Jan 2020
· 
· 
Tags:
PowerShell,
DateTime,
WindowsTaskScheduler,
ScheduledTask
I recently needed to schedule a task with Windows Task Scheduler to run at midday on the 5th weekday (Mon-Fri) of every month in 2020. Windows Task Scheduler lacks the functionality to configure such a schedule, so I needed to create a separate trigger for each month. Rather than do...
21 Dec 2019
· 
· 
Tags:
VBScript,
DateTime,
Logging,
ISO8601
I recently had cause to work on some existing automation tasks written in VBScript. These scripts may well be replaced with PowerShell in the future but for now I just need to maintain the status quo. I wanted to add functionality to write to a log file, prefixing each entry...
22 Sep 2019
· 
· 
Tags:
Avaya,
CommunicationManager,
PowerShell,
Regex
Avaya Communication Manager is a communication product which provides user and system management, call routing, application integration/extensibility, etc. It is normally accompanied by other Avaya products/components to form a complete communication platform. The purpose of this post is to demonstrate how to obtain the Communication Manager version number from the...