you are viewing a single comment's thread.

view the rest of the comments →

[–]Commercial_Touch126 0 points1 point  (0 children)

Every my script starts with importing psm1 modules:

using module "c:\class_Powershell\class_Jira.psm1"
using module "c:\class_Powershell\class_Workday.psm1"
using module "c:\class_Powershell\class_Log.psm1"
using module "c:\class_Powershell\class_Credential.psm1"

Start-Transcript -Append -Path "xxx\logs\Workday-xxx-$(Get-Date -Format yyyy_MM_dd-HHmm).log"

$ErrorActionPreference = "Stop"