Users Guide
<supportedRuntime version="v2.0.50727"/>
</startup>
</configuration>
测试 PowerShell 脚本
如果要测试您计划运行的脚本,可使用 PowerShell 图形编辑器 powershell_is。此外,还需要将配置文件 powershell_ise.exe.config 添
加至配置文件 powershell.exe.config 所在的文件夹。
注: 要配置文件,powershell_ise.exe.config 必须与 powershell.exe.config 文件具有相同的内容。
小心: 如果前 PowerShell 脚本或后 PowerShell 脚本失败,则作业也将失败。
本地化
在安装有 Rapid Recovery Core 的同一计算机上运行时,Rapid Recovery PowerShell 模块基于该 Core 的语言设置确定其显示语言。本
地化 Rapid Recovery 版本,例如此版本支持英文、中文(简体)、法语、韩语、德语、日语、葡萄牙语(巴西)和西班牙语。
如果 Rapid Recovery PowerShell 模块安装在单独的计算机上,则英文是唯一支持的语言。
限定符
下表介绍 Rapid Recovery PowerShell 模块可用的限定符。
表. 301: Rapid Recovery PowerShell 模块限定符
限定符 使用
-core <Rapid Recovery Core
Name>
Core 的主机名。
默认值:Localhost
-ProtectedServer <Protected
Server Name>
Rapid Recovery Agent 的主机名/IP 地址。
默认值:如果多个服务器受保护,则为 Localhost;否则为受保护的单个服务器。
-Mode <READ, READWRITE,
WRITE>
恢复点安装模式。
默认值:Read。
-Volumes <Snapshot Volume
Letter>
来自 Rapid Recovery Agent 的快照卷号。
默认值:All。
-User <User Name>
用于连接到 Rapid Recovery Core 的用户名。
此用户通常为服务用户。
-Domain <Domain Name>
/User 中定义的用户所属的域。
-Password <Password>
/User 中定义的用户的密码。
-Path <Target path to
mount, dismount recovery
points or archive location>
例如:C:\RapidRecoveryMount。
394 使用脚本扩展 Rapid Recovery 作业










