Can powershell packer script mount iso?

Hi,
I am running powershell script via packer which downloads a iso file on the ec2.
I need to mount this iso file and use it for installing sql.
So good so fine.
Base-SQL.amazon-ebs.ami: File : Microsoft SQL Server/SQLServer2019-x64-ENU-Dev.iso exists

Base-SQL.amazon-ebs.ami:    ISOPath         : C:\Users\Administrator\Software\tmp\Microsoft SQL Server\SQLServer2019-x64-ENU-Dev.iso

but next command $Mount = Mount-DiskImage $ISOPath -PassThru , throws an error
Base-SQL.amazon-ebs.ami: powershell.exe : Mount-DiskImage : The system cannot find the path specified.
Base-SQL.amazon-ebs.ami: At line:1 char:1
Base-SQL.amazon-ebs.ami: + powershell.exe -NoProfile -windowstyle Hidden -NonInteractive -Execut …
Base-SQL.amazon-ebs.ami: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Base-SQL.amazon-ebs.ami: + CategoryInfo : NotSpecified: (Mount-DiskImage…ath specified. :String) , RemoteException
Base-SQL.amazon-ebs.ami: + FullyQualifiedErrorId : NativeCommandError
Base-SQL.amazon-ebs.ami:
Base-SQL.amazon-ebs.ami: At C:\Users\Administrator\MSSQL_server_deployment.ps1:261 char:14
Base-SQL.amazon-ebs.ami: + $Mount = Mount-DiskImage $ISOPath -PassThru
Base-SQL.amazon-ebs.ami: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Base-SQL.amazon-ebs.ami: + CategoryInfo : ObjectNotFound: (MSFT_DiskImage:ROOT/Microsoft/…/MSFT_DiskImage) [Mount-DiskImage], Ci
Base-SQL.amazon-ebs.ami: mException
Base-SQL.amazon-ebs.ami: + FullyQualifiedErrorId : HRESULT 0x80070003,Mount-DiskImage
Base-SQL.amazon-ebs.ami:
Base-SQL.amazon-ebs.ami: Mount

Any ideas why?

it can my bad , typo in the mount path