Set-SCOpsMgrConnection
Set-SCOpsMgrConnection
Updates the Operations Manager connection settings.
構文
Parameter Set: Default
Set-SCOpsMgrConnection [-EnableMaintenanceModeIntegration <Boolean]> ] [-EnableOpsMgrConnection <Boolean]> ] [-EnablePRO <Boolean]> ] [-JobVariable <String> ] [-PROTipID <Guid]> ] [-RunAsynchronously] [-VMMServer <ServerConnection> ] [ <CommonParameters>]
詳細説明
The Set-SCOpsMgrConnection cmdlet updates the Operations Manager connection. Settings that can be changed include whether the connection is enabled or disabled, and whether maintenance mode integration is enabled for the connection.
パラメーター
-EnableMaintenanceModeIntegration<Boolean]>
Indicates whether maintenance mode integration is enabled for this connection.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-EnableOpsMgrConnection<Boolean]>
Indicates whether the connection to the Operations Manager management server is enabled.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-EnablePRO<Boolean]>
Indicates whether PRO is enabled for this connection.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-JobVariable<String>
Specifies that job progress is tracked and stored in the variable named by this parameter.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-PROTipID<Guid]>
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-RunAsynchronously
Indicates that the job runs asynchronously so that control returns to the command shell immediately.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-VMMServer<ServerConnection>
Specifies a VMM server object.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
- OpsMgrConnection
例
Example 1: Disable the Operations Manager connection
This command disables the Operations Manager connection by setting the EnableOpsMgrConnection parameter to $False.
PS C:\> Set-SCOpsMgrConnection -EnableOpsMgrConnection $False
Example 2: Enable the Operations Manager connection
This command enables the Operations Manager connection by setting EnableOpsMgrConnection to $True.
PS C:\> Set-SCOpsMgrConnection -EnableOpsMgrConnection $True