Get attribute exchange mapping

I'm trying to get the attribute exchange rules via PowerShell to get the mapping between PW attributes and MicroStation tags. Does this cmdlet do the job: Get-PWAttributeExchangeRulesUpdateFileConditions? The help file is enmpty and when I run it I get an error telling me that the required database view can't be created. Are there any other ways to get this?

PS C:\WINDOWS\system32> Get-PWAttributeExchangeRulesUpdateFileConditions
WARNING: An error occurred while attempting to create required database view.