Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

Summary of Commands in PowerShell

Explore Summary of Commands in PowerShell with a clear overview, practical guidance, key features, and useful tips to help you make an informed decision.

Table of Contents

This guide provides a practical overview of Summary of Commands in PowerShell, including its main features, benefits, limitations, and important considerations.

Summary of Commands in PowerShell screenshot

No.

Comeinand

Cmdlet command name

Describe the command

first

%

ForEach-Object

Performs an action for each item in a set of input objects.

2

?

Where-Object

Select objects from a set of objects based on their attribute values.

3

ac

Add-Content

Add content, such as words or data, to the file.

4

asnp

Add-PSSnapIn

Add one or more Windows PowerShell snap-ins to the current session.

5

cat

Get-Content

Get the content of a file.

6

CD

Set-Location

Set the current working position to a specified position.

7

chdir

Set-Location

Set the current working position to a specified position.

8

clc

Clear-Content

Delete the content of an item, but not the item.

9

clear

Clear-Host

Clear the screen in the server program.

ten

clhy

Clear-History

Delete the entries from the command history.

11

cli

Clear-Item

Delete the content of an item, but not the item.

twelfth

clp

Clear-ItemProperty

Delete the value of the attribute but not the property.

13

cls

Clear-Host

Clear the screen in the server program.

14

clv

Clear-Variable

Delete the value of a variable.

15

cnsn

Connect-PSSession

Reconnect to the disconnected sessions

16

compare

Compare-Object

Compare two sets of objects.

17

copy

Copy-Item

Copy an item from one location to another.

18

cp

Copy-Item

Copy an item from one location to another.

19

CPI

Copy-Item

Copy an item from one location to another.

20

cpp

Copy-ItemProperty

Copy an attribute and value from one specified location to another.

21

curl

Invoke-WebRequest

Get content from a website on the Internet.

22

cvpa

Convert-Path

Convert the path from the Windows PowerShell path to the path of the Windows PowerShell provider.

23

dbp

Disable-PSBreakpoint

Disable the breakpoint in the current panel.

24

del

Remove-Item

Delete files and directories.

25

diff

Compare-Object

Compare two sets of objects.

26

dir

Get-ChildItem

Get files and folders in the file system drive.

27

dnsn

Disconnect-PSSession

Disconnect from a session.

28

ebp

Enable-PSBreakpoint

Turn on breakpoints in the current panel.

29

echo

Write-Output

Send the specified object to the next command in the path. If this command is the last command in the pipeline, the objects are displayed in the control panel.

30

epal

Export-Alias

Export information about currently defined command nicknames to a file.

thirty first

epcsv

Export-Csv

Convert objects into a series of comma separated strings (CSV) and save the strings in the CSV file.

32

epsn

Export-PSSession

Enter commands from another session and save them in the Windows PowerShell module.

33

erase

Remove-Item

Delete files and directories.

34

etsn

Enter-PSSession

Start an interactive session with a remote computer.

35

exsn

Exit-PSSession

Ending an interactive session with a remote computer.

36

fc

Format-Custom

Use custom view to format the output.

37

fl

Format-List

Format the output as a list of attributes in which each attribute appears on a new line.

38

foreach

ForEach-Object

Performs an action for each item in a set of input objects.

39

ft

Format-Table

Format the output as a table.

40

fw

Format-Wide

Format objects in the form of a wide table showing only one attribute of each object.

41

gallium

Get-Alias

Get commands for the current session.

42

gbp

Get-PSBreakpoint

Get the breakpoints set in the current session.

43

gc

Get-Content

Get the content of a file.

44

gci

Get-ChildItem

Get files and folders in the file system drive.

45

gcm

Get-Command

Get all the commands.

forty six

gcs

Get-PSCallStack

Displays the current call stack.

47

gdr

Get-PSDrive

Get the drive in the current session.

48

ghy

Get-History

Get a list of the commands entered in the current session.

49

gi

Get-Item

Get files and folders.

50

gjb

Get-Job

Get the Windows PowerShell background jobs running in the current session.

51

gl

Get-Location

Get information about current working location or location stack.

52

gm

Get-Member

Get the properties and methods of the objects

53

gmo

Get-Module

Retrieve the module that has been imported or can be imported into the current session.

54

GP

Get-ItemProperty

Get the properties of a specified item.

55

gps

Get-Process

Get processes running on local or remote computer.

56

group

Group-Object

The group object contains the same value for the specified attribute.

57

gsn

Get-PSSession

Get Windows PowerShell sessions on local and remote computers.

58

gsnp

Get-PSSnapIn

Get Windows PowerShell snap-ins on your computer.

59

gsv

Get-Service

Get services on local or remote computer.

60

Style

Get-Unique

Returns unique items from the sorted list.

sixty one

gv

Get-Variable

Get the variables in the current panel.

62

gwmi

Get-WmiObject

Get instances of Windows Management Instrumentation (WMI) classes or information about available classes.

63

H

Get-History

Get a list of the commands entered in the current session.

sixty four

history

Get-History

Get a list of the commands entered in the current session.

65

icm

Invoke-Command

Run commands on local and remote computers.

66

iex

Invoke-Expression

Run commands or expressions on the local computer.

sixty seven

ihy

Invoke-History

Run commands from session history.

68

ii

Invoke-Item

Perform the default action on the specified item.

69

ipal

Import-Alias

Enter a list of nickname commands from the file.

70

ipcsv

Import-Csv

Create custom table-like objects from items in a CSV file.

71

ipmo

Import-Module

Add the module to the current session.

72

ipsn

Import-PSSession

Import commands from another session into the current session.

seventy three

irm

Invoke-RestMethod

Send an HTTP or HTTPS request to a RESTful web service.

74

ise

powershell_ise. exe

Explain how to use the PowerShell_ISE. exe command line tool.

75

iwmi

Invoke-WMIMethod

G?i các ph??ng th?c Windows Management Instrumentation (WMI).

76

I WR

Invoke-WebRequest

L?y n?i dung t? m?t trang web trên Internet.

77

kill

Stop-Process

D?ng m?t ho?c nhi?u ti?n trình ?ang ch?y.

78

lp

Out-Printer

G?i ??u ra ??n máy in.

79

ls

Get-ChildItem

L?y các file và th? m?c trong ? ??a h? th?ng file.

80

man

help

Hi?n th? thông tin v? các l?nh và khái ni?m c?a Windows PowerShell.

81

md

mkdir

T?o m?t m?c m?i.

82

measure

Measure-Object

Tính các thu?c tính s? c?a các ??i t??ng và các ký t?, các t? và các dòng trong các ??i t??ng chu?i, ch?ng h?n nh? các file v?n b?n.

83

mi

Move-Item

Di chuy?n m?t m?c t? v? trí này sang v? trí khác.

84

mount

New-PSDrive

T?o các ? ??a m?ng ???c ánh x? t?m th?i và liên t?c.

85

move

Move-Item

Di chuy?n m?t m?c t? v? trí này sang v? trí khác.

86

mp

Move-ItemProperty

Di chuy?n thu?c tính t? v? trí này sang v? trí khác.

87

mv

Move-Item

Di chuy?n m?t m?c t? v? trí này sang v? trí khác.

89

nal

New-Alias

T?o nickname l?nh m?i.

90

ndr

New-PSDrive

T?o các ? ??a m?ng ???c ánh x? t?m th?i và liên t?c.

91

ni

New-Item

T?o m?t m?c m?i.

92

nmo

New-Module

T?o m?t module ??ng m?i ch? t?n t?i trong b? nh?.

93

npssc

New-PSSessionConfigurationFile

T?o m?t file xác ??nh c?u hình phiên.

94

nsn

New-PSSession

T?o k?t n?i liên t?c ??n máy tính c?c b? ho?c t? xa.

95

nv

New-Variable

T?o m?t bi?n m?i.

96

ogv

Out-GridView

G?i ??u ra ??n m?t b?ng t??ng tác trong m?t c?a s? riêng bi?t.

97

Oh

Out-Host

G?i ??u ra ??n dòng l?nh.

98

popd

Pop-Location

Thay ??i v? trí hi?n t?i thành v? trí g?n ?ây nh?t ???c ??y vào ng?n x?p. B?n có th? b?t v? trí t? ng?n x?p m?c ??nh ho?c t? ng?n x?p mà b?n t?o b?ng cách s? d?ng l?nh cmdlet Push-Location.

99

ps

Get-Process

Nh?n các ti?n trình ?ang ch?y trên máy tính c?c b? ho?c máy tính t? xa.

100

pushd

Push-Location

Thêm v? trí hi?n t?i vào ??u ng?n x?p v? trí.

101

pwd

Get-Location

Nh?n thông tin v? v? trí làm vi?c hi?n t?i ho?c ng?n x?p v? trí.

102

r

Invoke-History

Ch?y các l?nh t? l?ch s? phiên.

103

rbp

Remove-PSBreakpoint

Xóa các breakpoint kh?i b?ng ?i?u khi?n hi?n t?i.

104

rcjb

Receive-Job

Nh?n k?t qu? c?a background job c?a Windows PowerShell trong phiên hi?n t?i.

105

rcsn

Receive-PSSession

Nh?n k?t qu? c?a các l?nh trong các phiên b? ng?t k?t n?i.

106

rd

Remove-Item

Xóa file và th? m?c.

107

rdr

Remove-PSDrive

Xóa ? ??a Windows PowerShell t?m th?i và ng?t k?t n?i ? ??a m?ng ???c ánh x?.

108

ren

Rename-Item

??i tên m?t m?c trong không gian tên c?a nhà cung c?p Windows PowerShell.

109

ri

Remove-Item

Xóa file và th? m?c.

110

rjb

Remove-Job

Xóa m?t background job c?a Windows PowerShell.

111

rm

Remove-Item

Xóa file và th? m?c.

112

rmdir

Remove-Item

Xóa file và th? m?c.

113

rmo

Remove-Module

Xóa các module t? phiên hi?n t?i.

114

rni

Rename-Item

??i tên m?t m?c trong không gian tên c?a nhà cung c?p Windows PowerShell.

115

rnp

Rename-ItemProperty

??i tên thu?c tính c?a m?t m?c.

116

rp

Remove-ItemProperty

Xóa thu?c tính và giá tr? c?a nó kh?i m?t m?c.

117

rsn

Remove-PSSession

?óng m?t ho?c nhi?u phiên Windows PowerShell (PSSessions).

118

rsnp

Remove-PSSnapin

Lo?i b? các snap-in Windows PowerShell kh?i phiên hi?n t?i.

119

rujb

Resume-Job

Kh?i ??ng l?i công vi?c b? t?m ng?ng

120

rv

Remove-Variable

Xóa m?t bi?n và giá tr? c?a nó.

121

rvpa

Resolve-Path

Gi?i quy?t các ký t? ??i di?n trong ???ng d?n và hi?n th? n?i dung ???ng d?n.

122

rwmi

Remove-WMIObject

Xóa m?t instance c?a l?p Windows Management Instrumentation (WMI) hi?n có.

123

sajb

Start-Job

B?t ??u m?t background job c?a Windows PowerShell.

124

sal

Set-Alias

T?o ho?c thay ??i nickname l?nh (tên thay th?) cho l?nh cmdlet ho?c ph?n t? l?nh khác trong phiên Windows PowerShell hi?n t?i.

125

saps

Start-Process

B?t ??u m?t ho?c nhi?u ti?n trình trên máy tính c?c b?.

126

sasv

Start-Service

B?t ??u m?t ho?c nhi?u d?ch v? b? d?ng.

127

sbp

Set-PSBreakpoint

Thi?t l?p breakpoint trên m?t dòng, l?nh ho?c bi?n.

128

sc

Set-Content

Thay th? n?i dung c?a file b?ng n?i dung b?n ch? ??nh.

129

select

Select-Object

Ch?n ??i t??ng ho?c thu?c tính ??i t??ng.

130

set

Set-Variable

??t giá tr? c?a m?t bi?n. T?o bi?n n?u m?t bi?n có tên ???c yêu c?u không t?n t?i.

131

shcm

Show-Command

T?o các l?nh Windows PowerShell trong c?a s? l?nh ?? h?a.

132

si

Set-Item

Thay ??i giá tr? c?a m?t m?c thành valu

C?m ?n các b?n ?ã theo dõi bài vi?t!

FAQ

What should I know about Summary of Commands in PowerShell?

Focus on the key features, requirements, limitations, and practical use cases explained in this guide.

How do I get the best results with Summary of Commands in PowerShell?

Follow the recommended steps, use current software or information, confirm compatibility, and review settings before major changes.

Are there any risks or limitations?

Potential limitations depend on compatibility, data quality, cost, privacy, support, and how the product or method is used.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.