powershellwrapper icon indicating copy to clipboard operation
powershellwrapper copied to clipboard

Unable to find type [Nullable[String]] when running Get-ITGlueConfigurationInterfaces

Open dkiscoo opened this issue 4 years ago • 1 comments

Steps to reproduce

Run the 'Get-ITGlueConfigurationInterfaces' command or running the 'get-help Get-ITGlueConfigurationInterfaces' command

Expected behavior

Return the help page of the command or a list of configuration interfaces

Actual behavior

get-help Get-ITGlueConfigurationInterfaces
get-help : Unable to find type [Nullable[String]]. Details: GenericArguments[0], 'System.String', on 'System.Nullable`1[T]'
violates the constraint of type 'T'.
At line:1 char:1
 get-help Get-ITGlueConfigurationInterfaces
     CategoryInfo          : InvalidOperation: (Nullable[String]:GenericTypeName) [Get-Help], RuntimeException
     FullyQualifiedErrorId : TypeNotFoundWithMessage,Microsoft.PowerShell.Commands.GetHelpCommand

Screenshots

the clip above is what i get whenever I run the command or the get-help command

Environment

Please share additional details about your environment. Version information for:

  • PowerShell = 5.1.19041.1151
  • ITGlueAPI = 2.1.0
  • Operating System OsName : Microsoft Windows 10 Enterprise OsOperatingSystemSKU : EnterpriseEdition OsArchitecture : 64-bit WindowsVersion : 2009 WindowsBuildLabEx : 19041.1.amd64fre.vb_release.191206-1406 OsLanguage : en-US OsMuiLanguages : {en-US}

dkiscoo avatar Aug 18 '21 18:08 dkiscoo

Merge Request #136 fixes issue of nullable string when running the get-itglueconfigurationinterfaces function

dkiscoo avatar Aug 24 '21 12:08 dkiscoo