Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 3.0 » Get-Item

Get-Item - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Get-Item

Short description
Gets files and folders.

Syntax
Get-Item [-Path] <String[]> [-Credential <PSCredential>] [-Exclude <String[]>] [-Filter <String>] [-Force] [-Include <S
tring[]>] [-UseTransaction [<SwitchParameter>]] [<CommonParameters>]
Get-Item [-Credential <PSCredential>] [-Exclude <String[]>] [-Filter <String>] [-Force] [-Include <String[]>] -LiteralP
ath <String[]> [-UseTransaction [<SwitchParameter>]] [<CommonParameters>]
Get-Item [-Stream <string>] [<CommonParameters>]





Description
The Get-Item cmdlet gets the item at the specified location. It does not get the contents of the item at the location u
nless you use a wildcard character (*) to request all the contents of the item.


The Get-Item cmdlet is used by Windows PowerShell providers to enable you to navigate through different types of data s
tores.

In the file system, the Get-Item cmdlet gets files and folders.

Note: This custom cmdlet help file explains how the Get-Item cmdlet works in a file system drive. For information about
 the Get-Item cmdlet in all drives, type "Get-Help Get-Item -Path $null" or see Get-Item at http://go.microsoft.com/fwl
ink/?LinkID=113319.