.net - 如何使用 powershell 将 CSV 文件转换为 XML?
问题描述
Convert-To-Xml
在 dotnet 或 powershell 内核中可用吗?
Convert-To-Xml : The term 'Convert-To-Xml' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:32
+ Import-Csv "./Processes.csv" | Convert-To-Xml
+ ~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Convert-To-Xml:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
我正在尝试Microsoft示例:Import-Csv "./Processes.csv" | Convert-To-Xml
解决方案
推荐阅读
- java - 用于 springBatch 项目的 azure 中的 webjobs
- flutter - 如何意识到这一点?
- c# - 一些计算器错误
- python - 移动应用程序如何与 python 脚本交互?
- apache - Bitrix24 On-Premise 站点无法加载带有错误消息的页面。无法访问此站点。拒绝连接
- windows - windows10如何访问容器的挂载目录?
- html - 我的 HTML 签名在 Outlook 中存在间距问题
- c# - 创建不冲突的数字以存储在数据库中?
- python - 熊猫:以均匀的间隔将元素添加到索引
- php - 带有护照和 Ldap 身份验证的 Laravel API