Section B.3. Aliases


B.3. Aliases

The standard set of aliases recreates the familiar behavior of the other command-line shells and ensures a consistent baseline experience for any MSH shell. Each alias maps to a standard cmdlet or defined function.

Note that some of these aliases (e.g., sc) may hide certain other applications present on your system. To run an external program, call it with its file extension (e.g., sc.exe) to make the distinction.

Some of the new aliases for commonly used commands are identified in bold.

Alias

Cmdlet

ac

add-content

clc

clear-content

cli

clear-item

clp

clear-property

clv

clear-variable

cpi

copy-item

cpp

copy-property

cvpa

convert-path

epal

export-alias

epcsv

export-csv

fc

format-custom

fl

format-list

foreach

foreach-object

ft

format-table

fw

format-wide

gal

get-alias

gc

get-content

gci

get-childitem

gcm

get-command

gdr

get-drive

ghy

get-history

gi

get-item

gl

get-location

gm

get-member

gp

get-property

gps

get-process

group

group-object

gsv

get-service

gu

get-unique

gv

get-variable

ic

invoke-command

ihy

invoke-history

ii

invoke-item

ipal

import-alias

ipcsv

import-csv

mi

move-item

mp

move-property

nal

new-alias

ndr

new-drive

ni

new-item

nv

new-variable

oh

out-host

rdr

remove-drive

ri

remove-item

rni

rename-item

rnp

rename-property

rp

remove-property

rv

remove-variable

rvpa

resolve-path

sal

set-alias

sasv

start-service

sc

set-content

select

select-object

si

set-item

sl

set-location

sleep

Start-Sleep

sort

sort-object

sp

set-property

spps

stop-process

spsv

stop-service

sv

set-variable

where

where-object

cat

get-content

cd

set-location

chdir

set-location

clear

clear-host

cls

clear-host

copy

copy-item

cp

copy-item

del

remove-item

dir

get-childitem

echo

write-object

erase

remove-item

h

get-history

history

get-history

kill

stop-process

lp

out-printer

ls

get-childitem

mount

new-drive

move

move-item

mv

move-item

popd

pop-location

ps

get-process

pushd

push-location

pwd

get-location

r

invoke-history

rd

remove-item

ren

rename-item

rm

remove-item

rmdir

remove-item

set

set-variable

type

get-content





Monad Jumpstart
Monad Jumpstart
ISBN: N/A
EAN: N/A
Year: 2005
Pages: 117

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net