System Center 2012 SP1 之五 使用App Controller Cmdlet
根据 Windows PowerShell 技术,System Center 2012 - App Controller cmdlet 能够向管理员提供自动化 App Controller 管理的功能。
一、 访问 App Controller cmdlet
1、 访问 App Controller cmdlet方式
您可以使用以下两种方法之一在 App Controller 服务器上访问 App Controller cmdlet:
1) 打开 App Controller 命令行界面。如果您打开 App Controller 命令行界面,则 Windows PowerShell 窗口也会打开并且会为您导入 App Controller 模块。
a) 要打开 App Controller 命令行界面,请在 App Controller 服务器上,按Win键,右击空白处,在下方点击“所有应用”,找到“Windows PowerShell module for App Controller”并点击打开。
b) 点击打开后如下图:
2) 导入 App Controller 模块。您可以将 App Controller 模块导入到打开的 Windows PowerShell 会话中。
a) 若要导入 App Controller 模块,请右击任务栏上的Windows PowerShell快捷按钮并以管理员身份运行,然后在 Windows PowerShell 命令提示符处输入 Import-Module -Name AppController。
b) 若要验证是否已将 App Controller 模块导入到当前的 Windows PowerShell 会话,请在 Windows PowerShell 命令提示符处输入 Get-Module。你应该会在返回的模块列表中看到名称 AppController。
2、 若要列出 App Controller cmdlet,请输入 Get-Command -Module AppController。
3、 若要获取任何 App Controller cmdlet 的帮助,请输入 Get-Help <cmdlet name>。
二、 App Controller SP1 Cmdlets
下面列表包含了System Center 2012 Service Pack1(SP1)App Controller cmdlets和功能的帮助主题的链接:
Name |
Description |
Adds a virtual hard disk to Windows Azure. |
|
Adds a virtual hard drive to the Windows Azure image store. |
|
Adds a Windows Azure subscription to App Controller. |
|
Adds a new connection to a VMM management server or Service Provider Foundation. |
|
Adds a library share. |
|
Creates an App Controller user role. |
|
Adds a member to a user role. |
|
Adds Windows Azure subscription and Service Provider Foundation connection cloud objects to the scope of objects that a user role can manage. |
|
Exports the App Controller AES key from the registry to the specified file. |
|
Gets one or more administrator settings from the App Controller server. |
|
Gets the hosted services on a specified Windows Azure cloud. |
|
Gets all role instances running in Windows Azure. |
|
Gets a specified Windows Azure service deployment. |
|
Gets one or more App Controller cloud objects. |
|
Gets one or more cloud systems on an App Controller server. |
|
Gets App Controller jobs. |
|
Gets and establishes a connection with an App Controller server. |
|
Gets the service deployment for a cloud. |
|
Gets the temporary storage used by the App Controller server. |
|
Gets user roles on the App Controller server. |
|
Removes a Windows Azure subscription from App Controller. |
|
Removes a connection to a cloud system. |
|
Removes a library share. |
|
Removes the specified user role. |
|
Removes a member from a user role. |
|
Removes a Windows Azure subscription cloud object from the scope of objects that a user role can manage. |
|
Resumes the specified suspended service deployment. |
|
Sets an administrator setting to a specified value. |
|
Updates the properties of a cloud system. |
|
Sets the temporary storage used by the App Controller server. |
|
Suspends the specified service deployment. |
至此,本篇《System Center 2012 SP1之五 使用App Controller Cmdlet》全部内容已完成。