Code Monkey home page Code Monkey logo

psmpsession's Introduction

PSMPSession

PSMPSession

Format an ssh connection command and connect to a target server, using a target account via CyberArk PSMP.

Main Branch Latest Build CodeFactor Coverage PowerShell Gallery License
appveyor tests codefactor codecov psgallery license
coveralls downloads

Usage

New-PSMPSession

Local Account Targets

Local

Domain Account Targets

Domain

Vault Usernames in UPN Format

VaultUPN

Target Usernames in UPN Format

TargetUPN

Vault Username and Target Username in UPN Format

UPN

Installation

Prerequisites

  • PowerShell Core or Powershell v5.1 (minimum).
  • SSH Client installed and configured on your PATH
  • Target account to connect to a target server through CyberArk PSMP.

Install Options

Use one of the following methods:

Option 1: Install from PowerShell Gallery

PowerShell 5.0 or above must be used

This is the simplest & preferred method for installation of the module.

To install the module from the PowerShell Gallery,
from a PowerShell prompt, run:

Install-Module -Name PSMPSession -Scope CurrentUser

Option 2: Manual Install

You can manually copy the module files to one of your powershell module folders.

Find your PowerShell Module Paths with the following command:

$env:PSModulePath.split(';')

The module files should be placed in a folder named PSMPSession in one of the listed locations.

More: about_PSModulePath

There are multiple options for downloading the module files:

PowerShell Gallery
  • Download from the module PowerShell Gallery:
    • Run the PowerShell command Save-Module -Name PSMPSession -Path C:\temp
    • Copy the C:\temp\PSMPSession folder to your "Powershell Modules" directory of choice.
PSMPSession Release
  • Download the latest release
    • Unblock & Extract the archive
    • Rename the extracted PSMPSession-v#.#.# folder to PSMPSession
    • Copy the PSMPSession folder to your "Powershell Modules" directory of choice.
PSMPSession Branch
  • Download the main branch
    • Unblock & Extract the archive
    • Copy the PSMPSession (\<Archive Root>\PSMPSession-main\PSMPSession) folder to your "Powershell Modules" directory of choice.

psmpsession's People

Contributors

pspete avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.