NetCmdlets 2016
NetCmdlets 2016
Questions / Feedback?

Get-SNMP Configuration

The cmdlet accepts one or more of the following configuration settings. Configuration settings are similar in functionality to properties, but they are rarely used. In order to avoid "polluting" the property namespace of the cmdlet, access to these internal properties is provided through the Config method.

Get-SNMP Configuration Settings

HexMACAddress:   Determines if MAC addresses are automatically hex encoded.

If the OID of the returned value begins with ifPhysAddrress (1.3.6.1.2.1.2.2.1.6) and this setting is true (default) the OIDValue will automatically be hex encoded and formatted in the format 00:0C:29:C6:31:07.

UseScalarInstance:   Whether to automatically use the OID for scalar object instances.

When set to true the cmdlet will attempt to determine if the OID is a scalar object by finding the OID in a loaded Mib file. If the OID can be found in the MIB, and the OID is a scalar object, then the cmdlet will automatically append a ".0" to the OID to represent the scalar object instance.

If the specified OID already ends with ".0" it will not be modified.

When set to False no modification of the OID will take place. The default value is True.

Base Configuration Settings

UseBackgroundThread:   Whether threads created by the cmdlet are background threads.

If set to True, when the cmdlet creates a thread the thread's IsBackground property will be explicitly set to True. By default this setting is False.

UseInternalSecurityAPI:   Tells the cmdlet whether or not to use the system security libraries or an internal implementation.

By default the cmdlet will use the system security libraries to perform cryptographic functions. When set to False calls to unmanaged code will be made. In certain environments this is not desirable. To use a completely managed security implementation set this setting to True. Setting this to True tells the cmdlet to use the internal implementation instead of using the system's security API.

Note: This setting is static. The value set is applicable to all cmdlets used in the application.

When this value is set the product's system DLL is no longer required as a reference, as all unmanaged code is stored in that file.

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
NetCmdlets 2016 - Version 16.0 [Build 6656]