Hi,
Writing the lastExecutionTime Fails if the path has a space (for me it´s in OneDrive).
I fixed it by creating a profile.ps1 with this line:
$timeFilePath_Override = Join-Path -Path ([Environment]::GetFolderPath("MyDocuments")) -ChildPath "PowerShell\LastExecutionTime.txt"
This line should be part of the org script
Hi,
Writing the lastExecutionTime Fails if the path has a space (for me it´s in OneDrive).
I fixed it by creating a profile.ps1 with this line:
$timeFilePath_Override = Join-Path -Path ([Environment]::GetFolderPath("MyDocuments")) -ChildPath "PowerShell\LastExecutionTime.txt"
This line should be part of the org script