This appendix provides pointers to classes in the .NET Framework that provide useful functionality in addition to what PowerShell provides. For detailed descriptions and documentation, search the official documentation at http://msdn.microsoft.com.
Windows PowerShell | |
---|---|
Class | Description |
| Represents a PowerShell object to which you can add notes, properties, and more. |
Utility | |
---|---|
Class | Description |
| Represents an instant in time, typically expressed as a date and time of day. |
| Represents a globally unique identifier (GUID). |
| Provides constants and static methods for trigonometric, logarithmic, and other common mathematical functions. |
| Represents a pseudo-random number generator, a device that produces a sequence of numbers that meet certain statistical requirements for randomness. |
| Converts a base datatype to another base datatype. |
| Provides information about, and means to manipulate, the current environment and platform. This class cannot be inherited. |
| Represents the standard input, output, and error streams for console applications. This class cannot be inherited. |
| Represents an immutable regular expression. |
| Provides a set of methods and properties that help debug your code. This class cannot be inherited. |
| Provides interaction with Windows event logs. |
| Provides access to local and remote processes and enables you to start and stop local system processes. |
| Provides a set of methods and properties that you can use to accurately measure elapsed time. |
| Controls playback of a sound from a .wav file. |
Collections and Object Utilities | |
---|---|
Class | Description |
| Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the base class for all arrays in the common language runtime. |
| Provides the base class for enumerations. |
| Represents text as a series of Unicode characters. |
| Represents a mutable string of characters. This class cannot be inherited. |
| Represents a collection of key/value pairs that are accessible by the key or index. |
| Implements the IList interface using an array whose size is dynamically increased as required. |
The .NET Framework | |
---|---|
Class | Description |
| Represents an application domain, which is an isolated environment where applications execute. This class cannot be inherited. |
| Defines an Assembly, which is a reusable, versionable, and self-describing building block of a common language runtime application. |
| Represents type declarations: class types, interface types, array types, value types, enumeration types, type parameters, generic type definitions, and open or closed constructed generic types. |
| Creates and controls a thread, sets its priority, and gets its status. |
| Provides a collection of methods for allocating unmanaged memory, copying unmanaged memory blocks, and converting managed to unmanaged types, as well as other miscellaneous methods used when interacting with unmanaged code. |
| Provides access to instances of the C# code generator and code compiler. |
Registry | |
---|---|
Class | Description |
| Provides RegistryKey objects that represent the root keys in the Windows registry, and static methods to access key/value pairs. |
| Represents a key-level node in the Windows registry. This class is a registry encapsulation. |
Input and Output | |
---|---|
Class | Description |
| Provides a generic view of a sequence of bytes. |
| Reads primitive datatypes as binary values in a specific encoding. |
| Writes primitive types in binary to a stream and supports writing strings in a specific encoding. |
| Adds a buffering layer to read and write operations on another stream. This class cannot be inherited. |
| Exposes static methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited. |
| Provides the base class for both
|
| Exposes instance methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited. |
| Provides static methods for the
creation, copying, deletion, moving, and opening of files, and
aids in the creation of |
| Creates a stream whose backing store is memory. |
| Performs operations on String instances that contain file or directory path information. These operations are performed in a cross-platform manner. |
| Represents a reader that can read a sequential series of characters. |
| Implements a |
| Represents a writer that can write a sequential series of characters. This class is abstract. |
| Implements a |
| Implements a |
| Implements a |
| Provides methods and properties for compressing and decompressing streams using the Deflate algorithm. |
| Provides methods and properties used to compress and decompress streams. |
| Listens to the filesystem change notifications and raises events when a directory, or file in a directory, changes. |
Security | |
---|---|
Class | Description |
| Represents a Windows user. |
| Allows code to check the Windows group membership of a Windows user. |
| Defines a set of commonly used security identifiers (SIDs). |
| Specifies common roles to be used with
|
| Represents text that should be kept confidential. The text is encrypted for privacy when being used, and deleted from computer memory when no longer needed. This class cannot be inherited. |
| Defines a wrapper object to access the cryptographic service provider (CSP) version of the TripleDES algorithm. This class cannot be inherited. |
| Derives a key from a password using an extension of the PBKDF1 algorithm. |
| Computes the SHA1 hash for the input data. |
| Represents the access control and audit security for a file or directory. |
| Represents the Windows access control security for a registry key. This class cannot be inherited. |
User Interface | |
---|---|
Class | Description |
| Represents a window or dialog box that makes up an application’s user interface. |
| Represents a panel that dynamically lays out its contents horizontally or vertically. |
Image Manipulation | |
---|---|
Class | Description |
| An abstract base class that provides functionality for the Bitmap and Metafile descended classes. |
| Encapsulates a GDI+ bitmap, which consists of the pixel data for a graphics image and its attributes. A bitmap is an object used to work with images defined by pixel data. |
Networking | |
---|---|
Class | Description |
| Provides an object representation of a uniform resource identifier (URI) and easy access to the parts of the URI. |
| Provides credentials for password-based authentication schemes such as basic, digest, NTLM, and Kerberos authentication. |
| Provides simple domain name resolution functionality. |
| Implements a File Transfer Protocol (FTP) client. |
| Provides an HTTP-specific
implementation of the |
| Provides common methods for sending data to and receiving data from a resource identified by a URI. |
| Provides client connections for TCP network services. |
| Represents the address of an electronic mail sender or recipient. |
| Represents an email message that can
be sent using the |
| Allows applications to send e-mail by using the Simple Mail Transfer Protocol (SMTP). |
| Represents a serial port resource. |
| Provides methods for encoding and decoding URLs when processing Web requests. This class cannot be inherited. |
XML | |
---|---|
Class | Description |
| Represents a writer that provides a fast, non-cached, forward-only way of generating streams or files containing XML data that conforms to the W3C Extensible Markup Language (XML) 1.0 and the Namespaces in XML recommendations. |
| Represents an XML document. |
Windows Management Instrumentation (WMI) | |
---|---|
Class | Description |
| Represents a WMI instance. |
| Represents a Common Information Model
(CIM) management class. A management class is a WMI class such
as |
| Retrieves a collection of management
objects based on a specified query. This class is one of the
more commonly used entry points to retrieving management
information. For example, it can be used to enumerate all disk
drives, network adapters, processes and many more management
objects on a system, or to query for all network connections
that are up, services that are paused, and so on. When
instantiated, an instance of this class takes as input a WMI
query represented in an |
| Provides methods to convert DMTF
datetime and time intervals to CLR-compliant |
| Subscribes to temporary event notifications based on a specified event query. |
Active Directory | |
---|---|
Class | Description |
| Performs queries against Active Directory. |
| The |
Database | |
---|---|
Class | Description |
| Represents an in-memory cache of data. |
| Represents one table of in-memory data. |
| Represents a Transact-SQL statement or stored procedure to execute against a SQL Server database. This class cannot be inherited. |
| Represents an open connection to a SQL Server database. This class cannot be inherited. |
| Represents a set of data commands and a database connection that are used to fill the DataSet and update a SQL server database. This class cannot be inherited. |
| Represents an SQL statement or stored procedure to execute against a data source. This class cannot be inherited. |
| Represents an open connection to a data source. |
| Represents a set of data commands and a connection to a data source that are used to fill the DataSet and update the data source. This class cannot be inherited. |
Message Queuing | |
---|---|
Class | Description |
| Provides access to a queue on a Message Queuing server. |
Transactions | |
---|---|
Class | Description |
| Represents a transaction. |
3.14.253.221