When converting Deployment v3 folders, the following message appears.
Convert-ADTDeployment : The expected if statement was not found in the input script.
OsName : Microsoft Windows 11 Business
OSDisplayVersion : 24H2
OsOperatingSystemSKU : 48
OsArchitecture : 64-Bit
WindowsVersion : 2009
WindowsProductName : Windows 10 Pro
WindowsBuildLabEx : 26100.1.amd64fre.ge_release.240331-1435
OsLanguage : de-DE
OsMuiLanguages : {de-DE, en-US}
KeyboardLayout : de-DE
TimeZone : (UTC+01:00) Amsterdam, Berlin, Bern, Rom, Stockholm, Wien
HyperVisorPresent : True
CsPartOfDomain : True
CsPCSystemType : Mobile
Host:
Version: 8.0.20
Architecture: x64
Commit: 574100b692
RID: win-x64
.NET SDKs installed:
No SDKs were found.
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.36 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.20 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.36 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.20 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.36 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.20 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
Prerequisites
PSAppDeployToolkit.Tools version
3.1.0
PSAppDeployToolkit version
4.0
Describe the bug
When converting Deployment v3 folders, the following message appears.
Convert-ADTDeployment : The expected if statement was not found in the input script.
Steps to reproduce
Environment data