[PowerShell]get data from Ini File

时间:2015-08-18 15:40:42   收藏:0   阅读:179
$filedata = @‘
app.name=Test App
app.version=1.2@

$filedata | set-content appdata.txt

$AppProps = convertfrom-stringdata (get-content ./appdata.txt -Raw)
$AppProps

 

 

原文:http://www.cnblogs.com/buhaiqing/p/4739411.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!