首页 > 其他 > 详细

译-what is cmdlet

时间:2016-01-04 22:24:15      阅读:240      评论:0      收藏:0      [点我收藏+]

A cmdlet (pronounced "command-let") is a lightweight Windows PowerShell script that performs a single function. A cmdlet, which is expressed as a verb-noun pair, has a .ps1 extension.

 

Although Windows PowerShell includes more than two hundred basic core cmdlets, administrators can also write their own cmdlets and share them. Each cmdlet will have a help file that can be accessed by typing Get-Help CmdletName-Detailed.  The detailed view of the cmdlet help file includes a description of the cmdlet, the command syntax, descriptions of the parameters and an example that demonstrate use of the cmdlet. 

Popular basic cmdlets include:

Cmdlet

Function

 Get-Location

 get the current directory

 Set-Location

 change the current directory

Copy-Item

 copy files

 Remove-Item

 remove a file or directory

 Move-Item

 move a file

 Rename-Item 

 rename a file

 New-Item create a new empty file or directory

 create a new empty file or directory

 

参考:

http://whatis.techtarget.com/definition/cmdlet

 

译-what is cmdlet

原文:http://www.cnblogs.com/lizhaoxian/p/5100223.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!