微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

如何使用AWS SSM发送命令将Thinkcell文件转换为Powerpoint文件?

如何解决如何使用AWS SSM发送命令将Thinkcell文件转换为Powerpoint文件?

我正在Powershell'ppttc input.ppttc -o output.pptx'中使用命令将我的Thinkcell文件转换为Powerpoint文件。这可以在我的本地计算机上使用,当我在EC2的Powershell中运行它时也可以使用。但是,当我在AWS Systems Manager终端中或通过Lambda中的ssm send-command(使用Python编写)使用此命令时,它不起作用:

    response = ssm.send_command(
    InstanceIds=instances,DocumentName='AWS-RunPowerShellScript',DocumentVersion='$DEFAULT',Parameters={
            'commands': [
                "&'C:/Program Files (x86)/think-cell\ppttc.exe' input.ppttc -o output.pptx;"
                          ]
        },CloudWatchOutputConfig={ 
  "CloudWatchLogGroupName": "","CloudWatchOutputEnabled": True},)

我收到错误消息:PowerPoint无法完成转换。

有人可以帮我吗?

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。