Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
Posh
0.1.1
Types/Posh/get_Process.ps1
<#
.SYNOPSIS
Gets the PowerShell Process
.DESCRIPTION
Gets the process currently hosting PowerShell
.EXAMPLE
$posh.Process
#>
Get-Process
-id
$PID