OutSystems Forge 日本語データベース

Powershell Commander

※Forge全件データの日本語検索サービスをご利用になりたい場合は、こちらまでお問合せください。

Forge英文サイト

2017-01-07 1.0.0 Danny Prager 10.0.302.0 All .NET Applications, Components, Libraries
ロジックから直接PowerShellコマンドを実行し、PowerShellがサーバーにインストールされているときに、すべてのPowerShell機能をすぐに利用できるようにします。 Outsystems クラウドでサーバー管理者アカウントを持っていない可能性があるため、Outsystems クラウドと同様に限られた機能で実行することができます。 つまり、このツールには、別のユーザーでPowerShellコマンドを実行するためのなりすましが含まれています。
使用例: PowerShellでお気に入りのCMDタスクを実行する タスクマネージャの代わりにPowerShellでプロセスを終了する PSDriveを使って単なるドライブ以上のものを見る エクスポートNTFSフォルダのアクセス許可 - 再帰的かどうか そしてもっと多くのこと... 実装 コマンド(タイプ:文字列) PowerShellコマンドプロンプトで実行されるリテラルコマンドテキスト 結果(タイプ:文字列) PowerShellの出力。この出力は2つ以上の行にすることができ、サイズに制限はありません。 偽装のオプションパラメータ。 注:偽装が必要ない場合は、パラメーターを空のままにします。 LogonTypeが空の場合、偽装は適用されません。既定のActive Directoryの場合、LogonType StringValue "NewCredentials" ユーザー名(タイプ:文字列) PowerShellコマンドを実行するユーザー名。 パスワード(タイプ:文字列) ユーザー名に関連付けられたパスワード。 ドメイン(タイプ:文字列) サーバーが存在するドメイン名。 ログオンタイプ 文字列値 "対話型" このログオンタイプは、ターミナルサーバー、リモートシェルなどのプロセスによってログオンしているユーザーなど、コンピュータを対話的に使用するユーザーを対象としています。このログオンタイプには、切断された操作のログオン情報をキャッシュするための追加費用があります。したがって、メールサーバーなどの一部のクライアント/サーバーアプリケーションでは不適切です。 文字列値 "ネットワーク" このログオンタイプは、高性能サーバーが平文パスワードを認証するためのものです。 LogonUser関数は、このログオンの種類の資格情報をキャッシュしません。 StringValue "バッチ" このログオンタイプは、プロセスが直接の介入なしにユーザーに代わって実行されるバッチサーバーを対象としています。このタイプは、メールやWebサーバーなど、一度に多くの平文認証の試行を処理する高性能サーバー向けです。 Stringvalue "サービス" サービスタイプのログオンを示します。提供されるアカウントにはサービス特権が有効になっている必要があります。。 文字列値 "ロック解除" GINAsはサポートされなくなりました。 Windows Server 2003およびWindows XP:このログオンタイプは、コンピュータを対話的に使用するユーザーにログオンするGINA DLL用です。このログオン・タイプは、ワークステーションがロック解除された時刻を示す一意の監査レコードを生成できます。 StringValue "NetworkCleartext" このログオンタイプは、認証パッケージに名前とパスワードを保存します。これにより、サーバーはクライアントを偽装しながら他のネットワークサーバーに接続できます。サーバーは、クライアントからのプレーンテキストの資格情報を受け入れ、LogonUserを呼び出し、ユーザーがネットワーク経由でシステムにアクセスできることを確認し、引き続き他のサーバーと通信できます。 文字列値 "NewCredentials" このログオンタイプを使用すると、発信者は現在のトークンを複製し、発信接続の新しい資格情報を指定できます。新しいログオンセッションは同じローカル識別子を持ちますが、他のネットワーク接続には異なる資格情報を使用します。このログオンタイプは、LOGON32_PROVIDER_WINNT50ログオンプロバイダによってのみサポートされています。

[Overview]
Lets you run PowerShell commands directly from your logic making it possible to have all the PowerShell functionality at your fingertip, when PowerShell is installed on your server of course. You can run it in Outsystems Cloud as well with limited functions since you probably do not have a server Administrator account in the Outsystems cloud. This being said, This tool includes impersonation to run the PowerShell commands under a different User.
[Detail]
Usage examples: Perform your favourite CMD tasks in PowerShell Kill a process in PowerShell instead of Task Manager Use PSDrive to view more than just drives Export NTFS folder permissions — recursive or not And so much more… Implementation Command (Type: String) The literal command text that will be executed in the PowerShell command prompt Result (Type: String) The PowerShell output. This output can be more than one row and there is no limit in size. Optional parameters for Impersonation. Note: If impersonation is not required leave the parameters empty. If LogonType is left empty impersonation will not be applied. For default Active Directory use LogonType Stringvalue "NewCredentials” Username (Type: String) The username you wish to run the PowerShell Command under. Password (Type: String) The password associated with the username. Domain (Type: String) The domain name in which the server is located. LogonType Stringvalue “Interactive” This logon type is intended for users who will be interactively using the computer, such as a user being logged on by a terminal server, remote shell, or similar process. This logon type has the additional expense of caching logon information for disconnected operations; therefore, it is inappropriate for some client/server applications, such as a mail server. Stringvalue “Network” This logon type is intended for high performance servers to authenticate plaintext passwords. The LogonUser function does not cache credentials for this logon type. Stringvalue “Batch” This logon type is intended for batch servers, where processes may be executing on behalf of a user without their direct intervention. This type is also for higher performance servers that process many plaintext authentication attempts at a time, such as mail or web servers. Stringvalue “Service” Indicates a service-type logon. The account provided must have the service privilege enabled. Stringvalue “Unlock” GINAs are no longer supported. Windows Server 2003 and Windows XP: This logon type is for GINA DLLs that log on users who will be interactively using the computer. This logon type can generate a unique audit record that shows when the workstation was unlocked. Stringvalue “NetworkCleartext” This logon type preserves the name and password in the authentication package, which allows the server to make connections to other network servers while impersonating the client. A server can accept plaintext credentials from a client, call LogonUser, verify that the user can access the system across the network, and still communicate with other servers. Stringvalue “NewCredentials” This logon type allows the caller to clone its current token and specify new credentials for outbound connections. The new logon session has the same local identifier but uses different credentials for other network connections. This logon type is supported only by the LOGON32_PROVIDER_WINNT50 logon provider.
戻る