Posts Tagged ‘XML’


 

PrimalScript adds Custom PrimalSense (Part 3: Cached and dynamic data lists)

Thursday, September 17th, 2015 by Alex Riedel
With the latest service build (7.1.67) of PrimalScript 2015 we introduced a new feature; custom PrimalSense. In the first part of this series we showed you how to create a simple list and what options you have for providing data for these lists. In the second part we showed you how to make these lists multi-select and how to add images to your items. If you missed the previous posts, click here for part 1 and here for part 2. Some if the information you want to display in a PrimalSense list is not static. It can change dynamically from…   More »

PrimalScript adds Custom PrimalSense (Part 2: Images and multiple selection)

Wednesday, September 16th, 2015 by Alex Riedel
With the latest service build (7.1.67) of PrimalScript 2015 we introduced a new feature; custom PrimalSense. In the first part of this series we showed you how to create a simple list and what options you have for providing data for these lists. If you missed the post, click here. If your list has just a single type of items an image is not really necessary, but if you have different types, it would be nice to give these items a visual distinction. Let’s take a look at the ‘machines’ example that gets installed with PrimalScript. We have different icons…   More »

PrimalScript adds Custom PrimalSense (Part 1: Basic lists and static data)

Tuesday, September 15th, 2015 by Alex Riedel
With the latest service build (7.1.67) of PrimalScript 2015 we introduced a new feature; custom PrimalSense. While many items in a script can be determined dynamically based on context and offered as a selection in a list, there are equally as many items that are tied to your specific environment or your business logic. There is simply no way we can foresee these items and offer them as you need them. What we can do however, is to enable you to customize PrimalSense and create your own lists, based on your needs and your environment. Invoking these custom lists is…   More »

WMI Explorer 2014: Running Queries

Tuesday, September 3rd, 2013 by Alex Riedel
WMI has a large amount of namespaces, classes and properties. While the WMI Explorer allows you to browse, search and filter all these items, it also enables you to query the underlying data for all of this. What you see above here is a standard query for the selected class. It is the same as running a “select * from Win32_Service” in this case. You can also limit the number of columns or properties by only selecting the items you need. In this case we selected the ‘Caption’ and ‘State’ properties only to get a list of all services and…   More »

PrimalScript 2012: What’s new? (Part 8)

Monday, May 14th, 2012 by Alex Riedel
Last time we looked at the new code navigator on top of the source code views in PrimalScript 2012. Today we’ll have a look at the other tabs on the new ribbon interface. There are four additional tabs that are always available: View This is the place where you can show or hide all the secondary windows, or things you switched of by accident. Most items are pretty self-explanatory. The Debug console only applies to PowerShell, so don’t expect that to be available when  you are debugging VBScript. ‘Call Stack’, ‘Variables’ and ‘Watch’ become visible automatically when you start debugging,…   More »

Inventory Report to XML

Thursday, June 18th, 2009 by Jeffery Hicks
Lately I seem to be answering a number of PowerShell XML related questions. When that happens I figure its time for an example. I have a script that I think originally was posted in a forum. I apologize that I didn't note where it came from. But I've enhanced it (as I am likely to do). The script reads a bare bones XML file of computernames and builds a new XML file with inventory information such as operating system, computer system, logical disks and more retrieved from WMI. My script will hopefully serve as examples for working with XML files. I also use Write-Progress so that you can track what the script is doing.   More »

Creating XML Configuration Files the PowerShell Way.

Tuesday, May 26th, 2009 by Jeffery Hicks
Several weeks ago I posted an entry on creating configuration files. This same technique can also work with XML files. I'm still working on a more advanced technique but wanted to share this simpler approach.   More »

Product Highlight – PrimalSQL and PrimalXML Example

Tuesday, March 24th, 2009 by David Corrales
In this blog, I will demonstrate how to use the features of PrimalSQL and PrimalXML to accomplish sample tasks. In this example, I will need to gather product information from a database and produce an XML file that will be used for offline processing. In addition, I would like to create a static drop down list for a webpage using the information I exported. I begin by running a basic query which displays a list of products available in the Northwind database. To do this, I will be using PrimalSQL 2009. PrimalSQL is a powerful tool that allows you to…   More »

Get TweeterTagged User

Thursday, February 5th, 2009 by Jeffery Hicks
If you use Twitter and like to script, especially in PowerShell, then I think you'll like this. A new site, TweeterTags.com has launched that allows you to tag your Twitter profile. The upshot is that this makes it easier to discover like-minded individuals. So let's say I want to find all the PowerShell tagged users, here's how I can do it directly from PowerShell with a simple script.   More »

PrimalXML 2009 Ready for Beta

Thursday, January 22nd, 2009 by David Corrales
PrimalXML is now available for beta testing as part of our 2009 lineup of new tools. PrimalXML is the must have tool for the user who needs to interact with XML but isn’t necessarily an expert XML developer. PrimalXML document formatting and color coded syntax makes XML viewing and editing even easier. At the touch of a button you can add, copy and remove elements and attributes. With this new tool you are able to validate XML files against a Schema file or apply a Style Sheet and view the results. PrimalXML features easy navigation and search features to find…   More »