未加星标

Where I’ve been for the last few months

字体大小 | |
[系统(windows) 所属分类 系统(windows) | 发布者 店小二03 | 时间 2017 | 作者 红领巾 ] 0人收藏点击收藏
As I mentioned in myprevious posts, I
Where I’ve been for the last few months
kind of fell off the planet (blog-wise, at least) at the end of August.I had good intentions for finishing the year out strong. There were three different items that contributed to my downfall.

First, I’ve been battling lots of different illnesses (none of them anything major) pretty much continually since early June. For three entire months, I coughed all the time. Right now, I can’t hear in one ear because of the fluid backed up there. That ear has only been a problem for a few days, but the other one (which cleared out yesterday) had been full for three weeks. Like I said, nothing major, no life-threatening conditions, but over time it wears you down.

Second, I broke down and bought a server. I have been putting off this purchase, but some book royalty money came through and I pulled the trigger. Buying it didn’t take long. What has been interesting is learning to do all of the things that most of you sysadmins take for granted. I’ve never really been a sysadmin, more of a developer/DBA/toolsmith who happens to really, really like a language which is designed for sysadmins. So, I’ve been building hyper-v hosts, lots of guests, building domains, joining domains, and trying to script as much as possible. I’ve learned a lot and there’s still a lot to learn. Most of it, though, is not stuff that I’ll probably blog about, because it’s really basic. There might be a post or 2 coming, but it’s hard to say.

Third, and this one is the most “fun”, is that VisioBot3000 stopped working. If you haven’t read my posts on automating Visio with PowerShell, VisioBot3000 is a module I wrote which allows you (among other things) to define your own PowerShell-based DSL to express diagrams in Visio. By “stopped working” I mean that sometime around the end of August, trying to use Visio containers always caused the code to hang.

I am pretty good at debugging, so I tried the usual tricks. I stepped through the code in the debugger. The line of code that was hanging was pretty innocent-looking. All of the variables had appropriate values. But it caused a hang. On my work laptop and my home laptop…two different OSes. I tried reverting to an old commit…No luck. I even tried copying code out of presentations I had done on VisioBot3000 and the results were the same. I even posted on the PowerShell subreddit asking for ideas on how to debug. The only suggestion was to use SysInternals process monitor to follow the two processes and see if I could find what was causing the issue. I tried that a week or two ago (sometime during the holidays) and guess what? It started working on my work laptop. Still doesn’t work on my home laptop, though, or the VM I built and didn’t allow to patch to see if a patch was the culprit.

Conclusion: I’m mostly better health-wise, am getting comfortable with the server, and VisioBot3000 is working somewhere, so I should be back on track with rambling about PowerShell.

Mike

本文系统(windows)相关术语:三级网络技术 计算机三级网络技术 网络技术基础 计算机网络技术

主题: PowerShell
分页:12
转载请注明
本文标题:Where I’ve been for the last few months
本站链接:http://www.codesec.net/view/523423.html
分享请点击:


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 系统(windows) | 评论(0) | 阅读(19)