PowerShell: Get help on Type Conversion
时间:2014-06-06
来源:互联网
I am a newbie, and am reading a copy of Windows PowerShell 2 for Dummies. Somewhere it suggests me to get help on type conversion. I tried:
get-help Type Conversion
get-help TypeConversion
get-help(typeconversion)
All without success. Can anyone advise how to get-help on type conversion? Thanks.
get-help Type Conversion
get-help TypeConversion
get-help(typeconversion)
All without success. Can anyone advise how to get-help on type conversion? Thanks.
作者: lam2070 发布时间: 2014-06-06
http://blogs.msdn.com/b/powershe ... nversion-magic.aspx
直接去MS搵啦
直接去MS搵啦
作者: skww 发布时间: 2014-06-06
Thanks skww. Unfortunately I am asking here because I could not find the answer on MS. Your link is not useful to me.
[ 本帖最后由 lam2070 於 2014-5-21 09:41 PM 编辑 ]
[ 本帖最后由 lam2070 於 2014-5-21 09:41 PM 编辑 ]
作者: lam2070 发布时间: 2014-06-06
引用:原帖由 lam2070 於 2014-5-21 07:24 PM 发表
Thanks skww. Unfortunately I am asking here because I could not find the answer on MS. Your link is not useful to me.
get-helpThanks skww. Unfortunately I am asking here because I could not find the answer on MS. Your link is not useful to me.
is for cmdlet help, not general help for type conversion. Powershell is very intelligent and try to convert it for you by best guess. e.g. if you type PS> $i = 3 + "4". Then it will convert automatically to integer and result is 7.If you type PS> $i = "4" + 3. The result of $i is "43" instead. So you need to know the rule of type conversion (priority, default etc) before you can get-help for related cmdlets.
作者: kk517 发布时间: 2014-06-07
get-help about_ | select name, synopsis | select-string type
to look for some topics available
to look for some topics available
作者: lohengrin 发布时间: 2014-06-07
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28