' ' Copyright (c) 2006 Microsoft Corporation. All rights reserved. ' ' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ' ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO ' THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A ' PARTICULAR PURPOSE. ' Description: PSSnapIn installation information SelectObjSnapIn ' System namespaces needed Imports System.ComponentModel ' Windows PowerShell namespaces needed Imports System.Management.Automation Namespace Microsoft.Samples.PowerShell.Commands ''' ''' Create this sample as an PowerShell snap-in ''' _ Public Class SelectObjPSSnapIn Inherits PSSnapIn ''' ''' Create an instance of the SelectObjPSSnapIn ''' Public Sub New() End Sub 'New ''' ''' Get a name for this PowerShell snap-in. This name will be used ''' in registering this PowerShell snap-in. ''' Public Overrides ReadOnly Property Name() As String Get Return "SelectObjSample" End Get End Property ''' ''' Vendor information for this PowerShell snap-in. ''' Public Overrides ReadOnly Property Vendor() As String Get Return "Microsoft" End Get End Property ''' ''' Description of this PowerShell snap-in. ''' Public Overrides ReadOnly Property Description() As String Get Return "This is a PowerShell snap-in that includes " & _ "the select-obj cmdlet." End Get End Property End Class 'SelectObjPSSnapIn End Namespace