the help for Get-PWUserSettingByUser is broken. Specifically the -Examples help.
The Synopsis says it's for Setting user settings.
The Example cuts off after opening the pwconnection (and shouldn't that example use New-PWLogin insted of Open-PWConnection?)
[Prod]\Reporting> help Get-PWUserSettingByUser -Examples
Sets user settings.
---------- EXAMPLE 1 ----------
#Set the myriad settings for a user or users.
Open-PWConnection -DatasourceName Server:DSN -UserName pwadmin -Password p@ssw0rd
Thanks for bringing this to our attention. We'll get it updated for the next release of the PWPS_DAB module.