1
Vote

Exception getting "formatValueList"

description

Why do I get the following error?
 
Add-Library -Name "Downloads" -Path "C:\users\testuser\Downloads\"
Exception getting "formatValueList": "Microsoft.PowerShell.Commands.Internal.Format.FreeFormatEntry.formatValueList"
+ CategoryInfo          : NotSpecified: (:) [out-lineoutput], GetValueInvocationException
+ FullyQualifiedErrorId : CatchFromBaseAdapterGetValue,Microsoft.PowerShell.Commands.OutLineOutputCommand

comments

rharper wrote Sep 22, 2011 at 2:13 PM

Hi,
first of all, are you running version 0.5 ? By the parameters it looks like you are running 0.1
The -Path parameter for the Add-Library is where to save the config file. I think what you want to do is to create a Library named Downloads, and then add the folder to the library.
To do this :
Add-Library -LibraryName Downloads
Add-LibraryFolder -LibraryName Downloads -FolderPath <path to add>

lutipold wrote Sep 22, 2011 at 5:23 PM

You are spot on. My mistake. I downloaded version 0.1. Problem resolved!

wrote Feb 13, 2013 at 11:37 PM