Namespaces

A namespace is used to organize classes into a hierarchy, often to group types with related functionalities.

In PowerShell, the System namespace is implicit.

The System.AppDomain type was used previously; this command, used when introducing assemblies, can be shortened:

[AppDomain]::CurrentDomain.GetAssemblies() 

The same applies to types with longer names, such as System.Management.Automation.PowerShell:

[Management.Automation.PowerShell].Assembly
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.119.106