일반적으로 powershell 오류는 나에게 뭔가를 제공하지만이 하나가 루프를 통해 나를 던져 버렸습니다.
workflow test-date{
$Date = Get-Date -format yyyyMMddHHmm -Verbose
Write-Output $Date
}
내가 오류는 다음과 같습니다 : 테스트하려면 다음 코드를 실행
The workflow 'test-date' could not be started: The following errors were encountered while processing the workflow tree:
'DynamicActivity': The private implementation of activity '1: DynamicActivity' has the following validation error: Compiler error(s) encountered processing expression "Date".
'.' expected.
At line:383 char:21
+ throw (New-Object System.Management.Automation.ErrorRecord $ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (System.Manageme...etersDictionary:PSBoundParametersDictionary) [], RuntimeException
+ FullyQualifiedErrorId : StartWorkflow.InvalidArgument
부분 정말 나에게 그것을 기대 말한다이다이다 얻을 "." 어딘가에. 나는 그것이 '.'을 찾을 것을 기대하고 있는지 모른다. 나는 내 상황과 관련이없는 오류를 봤다. 이 오류의 의미에 대해 더 알고 싶습니다. 왜 내가이 오류를 얻는 지 알고 싶습니다. 누군가가 해결책을 알고 있다면 좋을 것입니다.