执行Runbook时保存临时文件 [英] Saving a temporary file when runbook is executing

查看:86
本文介绍了执行Runbook时保存临时文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用azure Runbook,我需要将文件保存为临时文件,然后才能访问它并继续工作,是否有本地路径我们可以保存,我读了可以使用$ env:temp但它似乎不起作用。

Hi, am currently working with an azure runbook, what it does i need to save the file temporary to then get access to it and continue working, is there a local path where we can save that, i read we can use $env:temp but it seems its not working.

问候

推荐答案

你好Josue,你可以
找到这个参考
有用。

尝试使用-outfile 和-FilePath设置本地文件目的地。

try using the -outfile  and -FilePath to set your local file destination.

希望有帮助 

Hope that helps 


这篇关于执行Runbook时保存临时文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆