(view source code of which.ps as plain text)
# Which.ps1, Version 1.00# Locate the specified program file# Port of Unix' WHICH command## Usage: WHICH.PS1 filename[.ext]## Where: "filename" is a file name only: no drive or path## Written by Rob van der Woude# http://www.robvanderwoude.comparam([string] $file=$(throw "Please specify a filename."))
(get-command $file).Definition
page last modified: 2025-10-11; loaded in 0.0076 seconds