PowerShell V7
PowerShell:- Find a keyword in an Event Log
As an Admin, looking at Event Viewer becomes a normal thing, especially when you have issues or simply looking for intrusion like in my case where events are written to the different logs. To manually go through hundreds of thousands of logs is time consuming so I...
PowerShell V7:- Upgrade from V7.0.3 to V7.1.0 from the command line.
If you are running PowerShell V7 like I am, when you launch it you will see a white box similar to the one below: In this article, we will be upgrading using the command line and below is the command: iex "& { $(irm https://aka.ms/install-powershell.ps1) }...
PowerShell V7:- Run Python scripts flawlessly
In my previous blog post on running Python scripts from PowerShell (Article Here), I was keen to test out the same thing but using PowerShell V7 instead of PowerShell V5.1 that comes with Windows 10. I used the same script as I did previously in PowerShell V7 and here...
PowerShell V7:- Get time skew of a machine
With commands run in PowerShell, I'm referring to the version that comes with Windows 10 (5.1), most scripts or commands run without error unless there is a problem with the script or command. I used a script from Idera to check skew on machines and this script works...
PowerShell 7.0.3:- Create an email message
In a previous article, we used Windows 10 which has PowerShell 5.1 to create a new email message. Here is the link to the article: http://everything-powershell.com/powershell-create-an-email-using-powershell/ In this article we will perform the same function but we...
PowerShell V7 on Windows 10.
I was playing around with PowerShell 6 and 7 RC which a colleague showed me was available. Firstly to get the new version, you need to run the following command below: (Note it includes the -Preview switch) iex "& { $(irm https://aka.ms/install-powershell.ps1) }...