Vous êtes sur la page 1sur 3

on | format-list *

You can view and move through the data in a pro

vider drive just as
you would on a file system drive.

To view the contents of a provider drive, use t

he Get-Item or Get-ChildItem
cmdlets. Type the drive name followed by a colo
n (:). For example, to
view the contents of the Alias: drive, type:

hild item. Use the following format:


For example, to change your location to the HKL

M\Software registry key,
type a Set-Location command, such as:

set-location hklm:\software

You can also use relative references to locatio

ns. A dot (.) represents the
current location. For example, if you are in th
e HKLM:\Software\Microsoft
registry key, and you want to list the registry
subkeys in the
HKLM:\Software\Micrsoft\PowerShell key, type th
e following command:

get-childitem .\powershell


Dynamic parameters are cmdlet parameters that a
re added to a cmdlet
by a provider. These parameters are available o
nly when the cmdlet is
used with the provider that added them.

For example, the Cert: drive adds the CodeSigni

ngCert parameter
to the Get-Item and Get-ChildItem cmdlets. You
can use this parameter
only when you use Get-Item or Get-ChildItem in
the Cert: drive.

For a list of the dynamic parameters that a pro

vider supports, see the
Help file for the provider. Type:

get-help <provider-name>

For example:

get-help certificate


Although all provider data appears in drives, a
nd you use the same methods
to move through them, the similarity stops ther
e. The data stores that
the provider exposes can be as varied as Active
Directory locations and
Microsoft Exchange Server mailboxes.

For information about individual Windows PowerS

hell providers, type:

get-help <ProviderName>

For example:
get-help registry

For a list of Help topics about the providers,


get-help * -category provider