If you liked my previous post, Function to create logs that CMTrace can read and you use the ISE as your editor, I’ve posted a script in my BitBucket link to create three snippets to add that function when you need it.
I like to log things when I code, especially while debugging. I also like how I can watch logs real time with CMTrace, so I wrote a function that writes out the log entries in a format CMTrace can read. To use it, at the beginning of the script you are writing, these are the parameters to add for logging.
We’ve had this issue where OSD starts to fail because the client’s can’t download the policy from the MP’s. We’d seen this in the past and it was caused by some kind of corruption where a package that was referenced by the task sequence was getting it’s policy updated in a table at one of our primary sites a few times a second.
We were seeing this error on our workstations saying the WSUS EULA not downloading:
COMAPI WARNING: ISusInternal::GetEulaText failed, hr=80240033
Today we had a package stuck downloading at 0%. It didn’t budge for hours.
This has been the week from hell. Our software update points have been having issues syncing for quite a while and we finally had to rip them out and reinstall them. We changed the configuration and use a shared database and content store for all the SUPs in a site.
This script will put all the site systems and their roles in an Excel spreadsheet.
I was discussing the use of single quotes with a colleague, Daniel Ratliff, and how to have a single quote show up in a string delimited by single quotes.
We were running low on disk space on our DP’s and I noticed we had a lot of packages with the “Copy the content in this package to a package share on distribution points” check box checked on packages that didn’t need it. This, as you probably know, causes the package to have 2 copies on each DP. The only time we needed this checked was on a package that was either referenced by a task sequence or had a deployment that ran from DP. So, I wrote a script that will fix this, based on the switches you use.