Capture.PNG
Document Details
Uploaded by jlopez59#
Tags
Full Transcript
# Windows 10 PowerShell and Ubuntu Bash Interfaces (2 of 6) - PowerShell Cmdlet Syntax - Native PowerShell cmdlet syntax almost always starts with a verb followed by a noun, connected by a hyphen. - Example: `Get-ChildItem` - Some cmdlets have parameters, such as `-Depth` in the `GetChildItem`...
# Windows 10 PowerShell and Ubuntu Bash Interfaces (2 of 6) - PowerShell Cmdlet Syntax - Native PowerShell cmdlet syntax almost always starts with a verb followed by a noun, connected by a hyphen. - Example: `Get-ChildItem` - Some cmdlets have parameters, such as `-Depth` in the `GetChildItem` cmdlet. - Allows you specify how many layers to search in the targeted location. - Example: - `Get-ChildItem -Recurse -Depth 2` delivers a list of items in the current folder, that folder's child folders, and the folders within those child folders.