Posts

Showing posts with the label configmgr

Getting Company Portal apps locally using PowerShell (no auth!)

Image
As you may know, I work at Intility in the application packaging space.  I've been doing that since about 2015, and during that time I and my collegaues have developed standards and systems to help us package apps better and faster. The so far last and unifying system is AppPackBot, which you can read more about at Intility Engineering . I won't (and quite frankly can't) go into all the nuts and bolts beyond what that blog post says, but I wanted to share something. You see, there are mainly two "app stores" in a corporate Windows environment. Good old Software Center, and the new Company Portal. Software Center can be programmatically interacted with using the CCM_Application WMI Class . But Company Portal, not so much.  I burst out laughing when I read this attempt to install an app from Company Portal using PowerShell. Tldr: Using the companyportal: protocol to open Company Portal with a given app guid, and then sending a ctrl+i keystroke that equals clicking ...

I think I found a bug in cmtrace

Image
At work today I was looking through a log file generated by PSADT and noticed something weird. Compare the selected line in blue and the box below. Can you see it? (cmtrace version 5.0.9068.1000, I believe this is the current up to date version) Hint: The folder in ccmcache for the content is named "n".  Now, compare this to an older version of cmtrace where we see the same log file (cmtrace version 5.0.7804.1000, some years old) In case it's not clear: (new/current cmtrace. where is the n folder? For some reason, "\n" is getting removed from the box below in the new version of cmtrace.  My guess why this is happening: \n can be interpretet as a newline character. I believe this is happening, and in addition it strips away newlines. So "\n" just vanishes. The older version does not have this issue. That's all for now, have a great day!