设为首页收藏本站language 语言切换
查看: 862|回复: 3
收起左侧

请问powercli代码中【′】这个字符的作用!

[复制链接]
发表于 2014-3-27 17:44:56 | 显示全部楼层 |阅读模式
我在书上看到下面这种的powercli代码,请问下【′】这个字符的作用!这样的代码应该怎么执行!
New-VM -Name REL5_01 ′
   -DiskMB 10240 ′
   -DiskStorageFormat thin
   -MemoryMB 1024 ′
   -GuestId rhel5Guest ′
   -NetworkName vSwitch0_VLAN22 ′
   -CD |
   Get-CDDrive |  
      Set-CDDrive -IsoPath &amprime;[datastore0] /REHL5.2_x86.iso&amprime; ′
         -StartConnectedtrue ′
         -ConfirmFalse
发表于 2014-3-27 17:45:28 | 显示全部楼层
全乱套了,没法看你贴出的代码,请截图吧。
沙发 2014-3-27 17:45:28 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2014-3-27 17:47:12 | 显示全部楼层
看这里:
http://communities.vmware.com/thread/319602
Epic Fail in eBook Format - VMware vSphere PowerCLI Reference
If you're thinking of picking up this book in eBook format (Kobo or EPUB from Wiley) then don't, its a mess..

    Using a Kobo reader converts it to a single proportional font. This makes the source listings and output lists a mess where nothing aligns right
    All of the double quote, single quote and backhash characters are replaced with some variation of the text "″". So instead of

New-RegKey = "HKLM:Software\ODBC\ODBC.INI\ODBC Data Sources"`
$ODBCName "SQL Server Native Client 10.0"
the eBook has
New-RegKey ″HKLM:SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources″′
$ODBCName ″SQL Server Native Client 10.0″$VCMedia - ″C:\Temp\InstallMedia″
意思是说如果来自与Kobo或者EPUB格式的电子书中,双引号和单引号被替换了,造成了混乱。
&Prime 替代的 双引号
&prime 替代的 单引号
板凳 2014-3-27 17:47:12 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2014-3-27 17:47:57 | 显示全部楼层

真是十分感谢!
地板 2014-3-27 17:47:57 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-3-7 16:29 , Processed in 0.056315 second(s), 23 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表