Powershell Commander
Stable Version 1.0.0
Published on 07 January 2017 by 
Created on 07 January 2017
Details
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.
Read More

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.

Reviews (0)
Category
Applications, Components, Libraries
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from Danny Prager who created this component.
Dependencies
Powershell Commander has no dependencies.
Requirements
Platform
10.0.0.402
Database
All
Stack
.NET
Component Consumers
Powershell Commander has no consumers.
Weekly Downloads 
Related Components
Google Drive Connector
OutSystems R&D
Google Drive Connector allows your OutSystems Applications to use the Google Drive REST API to interact with your files.
1004
OutSystems UI Mobile
OutSystems R&D
Create amazing native mobile applications using this fully integrated UI framework for OutSystems, with dozens of UI patterns ready to use.
7353
Google Maps
Labs
Google Maps is a Google Maps Javascript V3 API component, providing Web Blocks and Actions to add interactive maps, markers and directions, along with event driven functionality.
10681
More from Danny Prager
Image Rotator
Danny Prager
Removes metadata from image and returns the binary in the right direction / rotation based on the metadata the image use to contain. If a file is added that is not an image file the binary will be returned unchanged
Application Cache
Danny Prager
Caching enables you to store data in memory for rapid access. Applications can access the cache and not have to retrieve the data from the original source whenever the data is accessed. This avoids repeated queries for data, and it can improve performance and scalability. In addition, caching makes data available when the data source is temporarily unavailable.
Simple Guid
Danny Prager
Returns a simple Guid as a string