Changes are coming to the script packager

The Script Packager has been a key feature of PrimalScript for many years now. Devised originally in the Windows 2000 era, it has some features that simply are no longer relevant or applicable in modern Windows versions. As many of you know, the packager has the ability to self-extract data files and COM objects when […]

Read More

Registry access from 32 to 64 bit and back

Just recently, I received an email asking how you can access the 64 bit registry from a 32 bit script, or vice versa. The task the individual was facing was to come up with a way to verify installed applications via checking the corresponding Windows Installer registry entries. For a C++ programmer with access to […]

Read More

More fun with Microsoft Word and PowerShell

I needed a demonstration for one of my last online PowerShell classes on using COM objects in PowerShell. I took an old VBScript that used Microsoft Word to get document statistics such as word and page count and transformed it into PowerShell. I quickly realized I could flesh out the demo into a larger function that I can actually use. Given that I generate a lot of Word docs, being able to get some document statistics is helpful. So I created a function called Get-DocStatistic.

Read More

PowerShell and COM objects.

While developing a COM object for scripting use I wanted to provide a VBScript sample as well as a PowerShell sample. While creating the PowerShell sample I received an unexpected error message when setting a property value. Some quick review shows that PowerShell 1.0 (I did not check with the 2.0 CTP yet) cannot handle […]

Read More

Searching Word

One of the last tasks I needed to accomplish to get Managing Active Directory with Windows PowerShell: TFM ready for publication was to assemble all the script samples. They’ll be available for download from SAPIENPress when the book is published. I knew that most of the scripts were in my primary scripts directory, but probably not all. I usually copied scripts from my test environment to my scripts directory but I knew some were bound to be missing. I didn’t want to manually open 16 chapters, search for script names, check if I had the script and then move it to a new folder. I don’t have time for that. But I do have time to figure out how to do it in PowerShell.

Read More

Better Sense for PowerShell

 PrimalScript 2007 build 566 (free to current PrimalScript 2007 owners – log into my.sapien.com to download) includes significant updates to the product’s "PrimalSense" code-hinting and completion feature. For starters, you’ll now get PrimalSense for COM component ProgIDs when using the New-Object cmdlet to instantiate COM components – much like the PrimalSense VBScripters have had with […]

Read More

Free FTP Component Updated

Hop over to http://primalscript.com/free_tools/index.asp to download the new version of our free FTP COM component, which includes commands for changing directories and other functionality. This component is also included in the "PrimalToys" collection that is installed with all editions of PrimalScript 2007 (latest service release).

Read More

Search

Enter any query and press enter
Advanced search operators:
+ ⟶ Term must appear
- ⟶ Term must not appear
"" ⟶ Exact string must appear
How do I use these?

Join our mailing list

Enter your email address to subscribe to our mailing lists for Monthly Blog Digests, Product Announcements and more (you can choose which you receive once you sign-up!)

Tags

Categories

Archives

Dashboard