System Center 2012 SP1 之五 使用App Controller Cmdlet

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”并点击打开。

image

b) 点击打开后如下图:

image

2) 导入 App Controller 模块。您可以将 App Controller 模块导入到打开的 Windows PowerShell 会话中。

a) 若要导入 App Controller 模块,请右击任务栏上的Windows PowerShell快捷按钮并以管理员身份运行,然后在 Windows PowerShell 命令提示符处输入 Import-Module -Name AppController。

image

b) 若要验证是否已将 App Controller 模块导入到当前的 Windows PowerShell 会话,请在 Windows PowerShell 命令提示符处输入 Get-Module。你应该会在返回的模块列表中看到名称 AppController。

image

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

Add-SCACAzureDisk

Adds a virtual hard disk to Windows Azure.

Add-SCACAzureImage

Adds a virtual hard drive to the Windows Azure image store.

Add-SCACAzureSubscription

Adds a Windows Azure subscription to App Controller.

Add-SCACCloudSystem

Adds a new connection to a VMM management server or Service Provider Foundation.

Add-SCACShare

Adds a library share.

Add-SCACUserRole

Creates an App Controller user role.

Add-SCACUserRoleMember

Adds a member to a user role.

Add-SCACUserRoleScope

Adds Windows Azure subscription and Service Provider Foundation connection cloud objects to the scope of objects that a user role can manage.

Export-SCACAesKey

Exports the App Controller AES key from the registry to the specified file.

Get-SCACAdminSetting

Gets one or more administrator settings from the App Controller server.

Get-SCACAzureHostedService

Gets the hosted services on a specified Windows Azure cloud.

Get-SCACAzureRoleInstance

Gets all role instances running in Windows Azure.

Get-SCACAzureServiceDeployment

Gets a specified Windows Azure service deployment.

Get-SCACCloud

Gets one or more App Controller cloud objects.

Get-SCACCloudSystem

Gets one or more cloud systems on an App Controller server.

Get-SCACJob

Gets App Controller jobs.

Get-SCACServer

Gets and establishes a connection with an App Controller server.

Get-SCACServiceDeployment

Gets the service deployment for a cloud.

Get-SCACTemporaryStorage

Gets the temporary storage used by the App Controller server.

Get-SCACUserRole

Gets user roles on the App Controller server.

Remove-SCACAzureSubscription

Removes a Windows Azure subscription from App Controller.

Remove-SCACCloudSystem

Removes a connection to a cloud system.

Remove-SCACShare

Removes a library share.

Remove-SCACUserRole

Removes the specified user role.

Remove-SCACUserRoleMember

Removes a member from a user role.

Remove-SCACUserRoleScope

Removes a Windows Azure subscription cloud object from the scope of objects that a user role can manage.

Resume-SCACServiceDeployment

Resumes the specified suspended service deployment.

Set-SCACAdminSetting

Sets an administrator setting to a specified value.

Set-SCACCloudSystem

Updates the properties of a cloud system.

Set-SCACTemporaryStorage

Sets the temporary storage used by the App Controller server.

Suspend-SCACServiceDeployment

Suspends the specified service deployment.

至此,本篇《System Center 2012 SP1之五 使用App Controller Cmdlet》全部内容已完成。










本文转自 linuxos 51CTO博客,原文链接:http://blog.51cto.com/winos/1160242,如需转载请自行联系原作者
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值