I have an issue with the Get-ADTINIValue function in PSADT v4.0.4
Here is the command I am using:
Get-adtINIvalue -FilePath "$env:temp\contentservers.ini" -section 'contentservers' -key '00958'
Get-adtINIvalue : Exception calling "GetSectionKeyValue" with "3" argument(s): "Either lpAppName or lpKeyName must be <null>."
At line:1 char:1
+ Get-adtINIvalue -FilePath "$env:temp\contentservers.ini" -section 'co ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-ADTIniValue], MethodInvocationException
+ FullyQualifiedErrorId : ArgumentException,Get-ADTIniValue