Tables Table F.1, “Windows PowerShells” through Table F.16, “Transactions” provide pointers to types in the.NET Framework that usefully complement the functionality that PowerShell provides. For detailed descriptions and documentation, search http://msdn.microsoft.com for the official documentation.
Table F.1. Windows PowerShells
Class | Description |
|---|---|
| Represents a PowerShell object to which you can add notes, properties, and more. |
Table F.2. 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 pseudorandom number generator, a device that produces a sequence of numbers that meet certain statistical requirements for randomness. |
| Converts a base data type to another base data type. |
| Provides information about, and means to manipulate, the current environment and platform. |
| Represents the standard input, output, and error streams for console applications. |
| Represents an immutable regular expression. |
| Provides a set of methods and properties that help debug your code. |
| 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. |
Table F.3. 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. |
| 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. |
Table F.4. The .NET Framework
Class | Description |
|---|---|
| Represents an application domain, which is an isolated environment where applications execute. |
| 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. |
Table F.5. Registry
Class | Description |
|---|---|
| Provides RegistryKey objects that represent the root keys in the local and remote Windows registry, and static methods to access key/value pairs. |
| Represents a key-level node in the Windows registry. |
Table F.6. Input and Output
Class | Description |
|---|---|
| Provides a generic view of a sequence of bytes. |
| Reads primitive data types as binary values. |
| Writes primitive types in binary to a stream. |
| Adds a buffering layer to read and write operations on another stream. |
| Exposes static methods for creating, moving, and enumerating through directories and subdirectories. |
| Provides instance methods for the
creation, copying, deletion, moving, and opening of files, and aids
in the creation of |
| Exposes instance methods for creating, moving, and enumerating through directories and subdirectories. |
| 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. |
| Implements a |
| Implements a |
| Implements a |
| Provides methods and properties used to compress and decompress streams using the Deflate algorithm. |
| Provides methods and properties used to compress and decompress streams using the GZip algorithm. |
| Listens to the file system change notifications and raises events when a directory, or file in a directory, changes. |
Table F.7. 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. |
| Defines a wrapper object to access the cryptographic service provider (CSP) version of the TripleDES algorithm. |
| 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. |
Table F.8. 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. |
Table F.9. Image manipulation
Class | Description |
|---|---|
| A class that provides functionality
for the |
| 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. |
Table F.10. 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, Kerberos authentication, and NTLM. |
| 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 email by using the Simple Mail Transfer Protocol (SMTP). |
| Represents a serial port resource. |
| Provides methods for encoding and decoding URLs when processing web requests. |
Table F.11. XML
Class | Description |
|---|---|
| Represents a writer that provides a fast, noncached, 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. |
Table F.12. Windows Management Instrumentation (WMI)
Class | Description |
|---|---|
| Represents a WMI instance. |
| Represents a management class. A
management class is a WMI class such as |
| Retrieves a collection of WMI
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. |
Table F.13. Active Directory
Class | Description |
|---|---|
| Performs queries against Active Directory. |
| The |
Table F.14. Database
Class | Description |
|---|---|
| Represents an in-memory cache of data. |
| Represents one table of in-memory data. |
| Represents a |
| Represents an open connection to a SQL Server database. |
| Represents a set of data commands
and a database connection that are used to fill the |
| Represents a SQL statement or stored procedure to execute against a data source. |
| 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. |
Table F.15. Message queuing
Class | Description |
|---|---|
| Provides access to a queue on a Message Queuing server. |
Table F.16. Transactions
Class | Description |
|---|---|
| Represents a transaction. |
No comments yet
Add a comment