I request came in for some examples of how to do Vault operations using vLogic. So here you go. You can never have too much sample code.
Search.ps - This script runs an Item search.
SetItemProperty.ps1 - This script sets a property value on a set of selected Items.
RunChangeOrderActivity.ps1 - This script changes the state of a Change Order.
These scripts are basically ports of other API code examples floating around. All I did was convert from C# or VB.NET to PowerShell syntax.
I would like to point out that using a script doesn’t mean its any easier to program than a compiled app. If you find a Vault API function difficult in VB.NET, then you will still find it difficult in PowerShell. And vice versa. Like most things, there is a trade-off. For some things, scripting works great. For other things, a compiled app is better.
I’m still new to PowerShell myself, but I’m hoping to come up with a tutorial or two on using vLogic.