Author Archives: chentiangemalc

About chentiangemalc

specializes in end-user computing technologies. disclaimer 1) use at your own risk. test any solution in your environment. if you do not understand the impact/consequences of what you're doing please stop, and ask advice from somebody who does. 2) views are my own at the time of posting and do not necessarily represent my current view or the view of my employer and family members/relatives. 3) over the years Microsoft/Citrix/VMWare have given me a few free shirts, pens, paper notebooks/etc. despite these gifts i will try to remain unbiased.

Case of the Win10 HyperV Fail – Property ‘MaxInternalSize’ does not exist in class ‘Msvm_VirtualHardDiskSettingData’

Trying to copy a huge file out of a HyperVM late at night I naively went and right clicked “Mount” in Windows Explorer on the VHDX file. Unfortunately my VM had multiple checkpoints, which aren’t visible when browsing the VHDX. … Continue reading

Posted in Uncategorized | 2 Comments

Faster Where-Object In PowerShell

One of the worst features of PowerShell for me is extremely slow performance in loops, especially using items like Where-Object { $_.Name –eq “value” } For performance critical loops I use inline C# Here is an example to search data … Continue reading

Posted in Performance, PowerShell | Leave a comment

Export Large Number of Users from ConfigMgr to CSV with PowerShell

Had a scenario where I required export of 50k+ users from ConfigMgr to do some analysis. However PowerShell cmdlet Get-CMUser just hung for an hour or more. Maybe it would eventually come back with a result, I don’t know… So … Continue reading

Posted in ConfigMgr | Tagged | Leave a comment

Case of the Automatic Outlook Signature Configuration Failure

An environment was using logon batch file, that called a VBS to automatically configure Outlook signatures. The signature had a different image attached to the end of it dependent on current marketing campaign. One day it stopped working, manually running … Continue reading

Posted in Office | Tagged | Leave a comment

Case of the VBS Compilation Error–Invalid Character

Running a VBS script resulted in error Microsoft VBScript compilation error: Invalid character The line of code apparently containing invalid character was:     Const ForWriting = 2 Opening in a Hex Editor it was revealed the “spaces” before the word … Continue reading

Posted in Uncategorized | Leave a comment

Decompress Exchange Offline Address Book LZX Files to OAB format

Program binaries can be downloaded here https://1drv.ms/u/s!AiFhB4fT6aiTgdwrR_OOsORLs2SaUQ Visual Studio 2017 C++ project and source code available here https://github.com/chentiangemalc/LzxToOab In further blog post will explain how to extract address information from OAB file. For usage information run LzxToOab.exe without parameters:

Posted in Uncategorized | Tagged | Leave a comment

Decompress Exchange Offline Address Book LZX Files to OAB format

Program binaries can be downloaded here https://1drv.ms/u/s!AiFhB4fT6aiTgdwrR_OOsORLs2SaUQ Visual Studio 2017 C++ project and source code available here https://github.com/chentiangemalc/LzxToOab In further blog post will explain how to extract address information from OAB file

Posted in Uncategorized | Tagged | Leave a comment