PoshCode Archive  Artifact [3f3e7d93a1]

Artifact 3f3e7d93a19a97120dde356fcc1cac343665e5cfd66a20b3ef90d0c84feb1184:

  • File 111.ps1 — part of check-in [71083ab402] at 2018-06-10 13:39:27 on branch trunk — This file was uploaded by a PowerGUI Script Editor Add-on. (user: Anonymous size: 505)

# encoding: ascii
# api: powershell
# title: 111.ps1
# description: This file was uploaded by a PowerGUI Script Editor Add-on.
# version: 0.1
# type: function
# author: Anonymous
# license: CC0
# x-poshcode-id: 4319
# x-archived: 2013-07-25T10:56:20
# x-published: 2013-07-22T14:29:00
#
#
function foo {
param(
[Parameter(Mandatory=$true,ValueFromPipelineByPropertyName=$true)]
[string]
$Text
)
Get-Command -CommandType Cmdlet
Get-Process
	"bar"
	"QWERTY"
	"123"
	$Text
}

foo