PowerShell
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 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:- Create an email using PowerShell
In this article we are doing to perform two demonstrations for creating draft emails in Outlook from PowerShell. Option 1: Create an email draft however you need to open Outlook to see it.Option 2: Create an email draft but have the email open for you instead of...
PowerShell Tip:- Get Windows 10 Version with a simple command.
If you are new to Windows 10, you may be wondering where to find the OS build information. Well, you can firstly head over to Settings -> System -> About and can see the information as below: Or you can use PowerShell and run a simple command to give you the...
PowerShell:- List missing windows updates in Windows 10(20H2)
I was recently asked how to get all Windows updates that are missing in Windows 10. There is a great script written by Grimthorr 5 years ago which is still working on the current version of Windows 10. To get the code, you can head over to his post on GitHub below:...
PowerShell:- Find out if the Outlook process is running.
Sometimes in Windows 10, you are working on Outlook and you need to close it for some reason and when you try and launch it again nothing happens. This is because there is already a process running in the background, the previous session you closed did not end...
PowerShell:- Start Outlook from command line.
If you are like me and constantly experimenting with applications like PowerShell or Python, you end up doing things a bit differently to the normal user. Why click an Icon for Outlook to open or your daily apps when you can use PowerShell to do it for you. In the...
PowerShell:- Check your execution policy
You may have noticed that when you want to run that PowerShell script you downloaded it gives you an error. This is because windows is designed to protect the operating system. If you are running Windows Server, the default is set to remote signed. On Windows client...
PowerShell:- Running Python script fails with error.
If you want to use PowerShell to execute Python scripts, you need to have Python installed or you will receive the error below: Head over to the Microsoft store and download Python. I opted for Python 3.7 but there are newer versions out: After the install was done, I...
PowerShell:- Install Microsoft Teams Module
For those new to Teams or those admins that prefer PowerShell like myself, you can now install the PowerShell module for Teams and see the list of commands available. Firstly launch PowerShell elevated and once done, you can run the following command: Install-Module...