home *** CD-ROM | disk | FTP | other *** search
/ Chip 2008 June / CHIP-2008-06.iso / software / PowerShell / PowerShell_Setup_x86.msi / product.cab / about_Namespace.help_EN.txt < prev    next >
Encoding:
Text File  |  2007-10-29  |  2.5 KB  |  62 lines

  1. TOPIC
  2.     Namespaces
  3.  
  4. SHORT DESCRIPTION
  5.     Namespaces maintained by the Windows PowerShell 
  6.  
  7. LONG DESCRIPTION
  8.     Namespaces in PowerShell support a system for uniquely identifying items 
  9.     in the data stores accessed through the PowerShell Providers. 
  10.     Namespaces, which are maintained as part of the PowerShell system state, 
  11.     ensure that each entity is assigned an unambiguous label that 
  12.     identifies that entity and no other.
  13.  
  14.     PowerShell supports a number of different namespaces that correspond to 
  15.     the PowerShell Providers. For example, PowerShell maintains a 
  16.     namespace for the FileSystem provider. The FileSystem namespace, like 
  17.     the FileSystem provider, is associated with multiple PowerShell drives 
  18.     that correspond to the drives on your system. All items available through 
  19.     the FileSystem provider (the files and directories on your computer) are 
  20.     accessible through that namespace. For instance, the shell.dll file in the 
  21.     c:\windows\system32 directory is part of the FileSystem namespace, as 
  22.     shown in the following fully qualified path name:
  23.  
  24.         filesystem::c:\windows\system32\shell.dll
  25.  
  26.     Note that this is an example of a fully qualified path name. It is not 
  27.     an actual command. In fact, if you were to enter only the PowerShell 
  28.     Provider name and the two colons (filesystem::), PowerShell would crash.
  29.  
  30.     The pathname identifies the PowerShell Provider (filesystem::), the 
  31.     PowerShell drive (c:), the container and subcontainer (\windows\system32), 
  32.     and the item (\shell.dll), all of which are part of the FileSystem 
  33.     namespace.
  34.  
  35.     Because all PowerShell Providers are associated with one or more 
  36.     PowerShell drives, all namespaces contain one or more drives. In 
  37.     addition, all drive names are unique across all PowerShell Providers, 
  38.     and each drive is associated with only one provider. As a result, when 
  39.     you set the current working location in PowerShell, you're also setting 
  40.     the current namespace.
  41.  
  42. SEE ALSO
  43.     For information about path syntax, enter the following command at the 
  44.     PowerShell command prompt:
  45.  
  46.         help about_path_syntax
  47.  
  48.     For information about PowerShell Providers, enter the following 
  49.     command:
  50.  
  51.         help about_provider
  52.  
  53.     For information about the current working location, enter the following 
  54.     command:
  55.  
  56.         help about_location
  57.  
  58.     For information about system state, enter the following command:
  59.  
  60.         help about_system_state
  61.  
  62.