PS Item Flashcards
Gets the item at the specified location.
Get-Item
Creates a new item.
New-Item
Copies an item from one location to another.
Copy-Item
Moves an item from one location to another.
Move-Item
Deletes the specified items.
Remove-Item
Renames an item in a Windows PowerShell provider namespace.
Rename-Item
Changes the value of an item to the value specified in the command.
Set-Item
Performs the default action on the specified item.
Invoke-Item
Clears the contents of an item (an alias or a variable), but does not delete the item.
Clear-Item
Gets the items and child items in one or more specified locations.
Get-ChildItem
Specifies the path to an item.
-Path
Get-Item / Get-ChildItem parameter that omits the specified items.
-Exclude
Get-Item / Get-ChildItem parameter that retrieves only the specified items.
-Include
Get-Item / Get-ChildItem parameter that specifies a filter in the provider’s format or language.
-Filter
Get-Item / Get-ChildItem parameter that allows the cmdlet to get items that cannot otherwise be accessed, such as hidden items.
-Force