[英]Uploading entities to azure storage table from XML file through powershell
I had been looking for the answer since long time. 很久以来我一直在寻找答案。 Still, no satisfactory answer found.
仍然没有找到满意的答案。
I have my data in a plain XML file which I want to upload to an azure storage table. 我的数据保存在纯XML文件中,我想将其上传到Azure存储表中。 I can easily do it through C# code, but due to some restrictions I need to do it through power shell script only.
我可以通过C#代码轻松完成此操作,但是由于某些限制,我只需要通过Power Shell脚本即可完成此操作。 Has anybody done something similar.
有没有人做过类似的事情。
You can create your custom fuctions as PowerShell modules. 您可以将自定义功能创建为PowerShell模块。
http://blogs.technet.com/b/heyscriptingguy/archive/2009/11/10/hey-scripting-guy-how-can-i-create-a-custom-function.aspx http://blogs.technet.com/b/heyscriptingguy/archive/2009/11/10/hey-scripting-guy-how-can-i-create-a-custom-function.aspx
It is also possible to add C# code to your PowerShell scripts: 也可以将C#代码添加到PowerShell脚本中:
https://blogs.technet.microsoft.com/stefan_gossner/2010/05/07/using-csharp-c-code-in-powershell-scripts/ https://blogs.technet.microsoft.com/stefan_gossner/2010/05/07/using-csharp-c-code-in-powershell-scripts/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.