get-eventlog does not display time on out-file

Tuesday, November 26th, 2019

Powershell is fun and yet there are times it can be annoying.

I am doing a refresh as I am looking for a new job. My last one was not script minded.

A simply test was to get use get-eventlog sort by index and time. It did this. Next was to output index, time and source.

get-eventlog -logname Security -newest 50 |select-object -property index,time,source | sort time,index | out-file c:\last.txt

The other two worked. Time did not.

You would think it would be obvious to simply use “time” and well; it isn’t.

You need to use timegenerated or timewritten.

get-eventlog -logname Application -newest 50 |select-object -property index,timegenerated,source | sort index,time

More reading to do.

Advertisement

Disney+ fails to protect accounts

Sunday, November 17th, 2019

It seems Disney failed to protect peoples accounts.

When it rains…….

Disney Plus failed on it’s opening.

Saturday, November 16th, 2019

I have a thing about streaming services. I really don’t like everybody having their own. People like shows from different producers and now we have to have “Yet Another Streaming Service (YASS)” to see a show which we find interesting.

Such was the case for Disney. Marvel and Star Wars. I was not happy but was willing to give it a try.

For a company with the amount of income; they really gave a bad opening for the new service.

We kept seeing timeout resets and screen pauses while audio continued. Disney reps stated they underestimated! Really; with what you have you underestimated? There is no reason they can’t overestimate on the venue.

I stream through my Sony Playstation. I read many other complaints and issues. Disney response was it’s the Playstation. How is this possible if Netflix and Amazon do not have these issues?

After a couple days, two updates and the assumption of resources added; it’s gotten a little better. The pause resets aren’t as frequent.

Oh! One thing? The Mandalorian seems like it will be good.

iWatch upgrade to 6.1

Friday, November 1st, 2019

I have a series 2 iWatch and learned 6.1 was out. Apple reported it would run on series 2.

When I tried to upgrade; it kept timing out and reporting there was no wireless network.

Usual diagnostics didn’t work. I power cycled the iPhone and iWatch. It worked for a little bit and then the same problem.

The upgrade process requires the iWatch to be on a charger. This is only for the actual install phase. I decided to leave the iPhone and iWatch with the wireless router over night.

The next day I found the download had completed and of course it would not install since it was not on the charger.

After the iWatch was on the charger; the install ran for about an hour.

iWatch now has 6.1.

Airpods and a moment of weakness

Wednesday, October 30th, 2019

As previously mentioned in another post; a layoff can make for change. I decided I needed to become more of a mobile worker. Thus, a new iPad, iPhone and figured why not for the airpods.

Normally, I avoid first releases and I no longer chase everything Apple. The second generation airpods seemed interesting.

I like the wireless charge ability and thought it was interesting the case can serve as a backup battery. They are easy to wear though I can see them falling out for serious activities. Sound wise they are good and noise cancellation was just about right. Lessons surrounding noises and still allow for someone to get your attention.

I like they were easy to install and have the ability to pause youtube on removal and change the sound over when you insert one.

The bad thing? Remember the joke ad where the dancing shadow figures would loose one and then repeatedly buy a new one? I lost one in under a month!!!!

For a simple cost of 75$ (shipping and tax), you can purchase a replacement. I wonder how much money Apple has made with this ability.

If you happen to loose one, don’t use the genius bar. You have to schedule an appointment, spend time while they verify you own it and then maybe they have replacements. I got annoyed by the fact I was looking at appointments; walked over to check a wall calendar for my kids activities; walked back and the appointments were full for the day.

I called the help line, waited about 45 minutes and after about 20 minutes; a new one was ordered.

Oh well at least I have both again…..

iPad Pro and 13.1 no longer updates.

Saturday, September 28th, 2019

I updated my iPad Pro to 13.1 and found I can no longer get updates. Click Software Updates and you get:

Unable to Check for Update – An error occurred while checking for a software update.

Basic troubleshooting has failed:

  • Restart and Force restart
  • Reset Network.
  • Change DNS to google DNS.
  • Checked Apple Services.
  • Saw a note from somebody alleging Apple Care said there was no update for 13.1.1

I would use iTunes. The problem? The new cables don’t work with a Windows Laptop. Ordered a special cable (Amazon Basics). Will Try again once it arrives tomorrow.

*Update – 9/29/19*

This was a case of a magical fix. I ran the update last night and it worked. I am not so sure it was my iPad or my network as I was able to update my iPhone and watch.

Even though the status page was green; I wonder if something was disabled or overloaded? Oh well; cable will arrive today. Next time; I can test the iTunes approach.

At least the battery drain seems to have stopped or lessened…..

The return of python

Thursday, September 19th, 2019

I decided to take up python again. Wasn’t a heavy user as I was a bit of a Perl snob. The current job really doesn’t offer serious time for good scripting so I was a little lax on that front.

I have a refresher book “Visual Quickstart Guide for Python” and for simple minded fun “Mission Python: Code a space adventure Game”

The mission book wants pygame. I quickly found I needed to install pip as well. Commands not recognized.

I should mention; I am using Windows 10 on a laptop and have installed Visual Studio community edition with the Python add on. I still upgraded Python to the latest release.

If you are using Windows; you can make your python experience a little easier with two PATH additions for python and the scripts folder in python. In my case

  • “C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\”
  • “C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\ Scripts\”

After that; you can get a nice little script which will run the pip install. Start an admin level CMD window and enter: python <location of script>\get-pip.py

Once it’s installed; you can install pygame simply by entering: pip install pygame

It’s a quick install. Just verify there are no error messages.

An editor for iPad Pro.

Wednesday, September 4th, 2019

I recently upgraded to an iPad Pro and decided to make it a tool for most things. One area needed was an “ok” editor.

I tried out “pages” and found it to be rather annoying. It would not recognize other file formats and it would recognize formatting.

I am using Textilus Pro right now and it’s been an improvement.

PlayStation 2? Replace or retire?

Sunday, August 18th, 2019

I am in a purge mood due to recent events. Layoffs are never fun.

I have an old PlayStation 2 which no longer works. Seems the CDrom no longer reads. A replacement runs on average about 70 dollars. I have a few games but are they really worth keeping to replace old unsupported gear?

Is hoarding a comfort thing? Am I trying to justify keeping it as a gamer?

It’s been acting up for awhile and I didn’t do anything about it.

Maybe it’s time to let it go.

Last check will be my kid. 😀

She is a gamer. Probably will say get rid of it and the games.

Change is a good thing.

Update: Ended up selling it. Gave a guy a good deal for it, the accessories and all the PS2 games. He said he had a PS2 and didn’t have any games. He really liked what he saw and even mentioned the Lord of the Rings games are what got him into gaming. Glad to see reuse rather then land fill.

Enable Remote Desktop for Server 2019.

Wednesday, July 31st, 2019

Server 2019 is making it’s appearance and of course we needed to enable Remote Desktop. Things change in time and of course so must Windows. The config option is not in it’s normal place.

I am not making a post at this time and I did find a very good writeup on this….