This is more for me than anyone else. If you want to move to PowerShell core in Visual Studio Code then do the following.
CTRL + , to open settings.
terminal in the search box.
- Scroll down to Terminal > Integrated > Shell: Windows
- Click on ‘Edit in settings.json’ and add the following.
Now when the terminal is opened it will be using PowerShell 6 / Core.
To install the PowerShell Core / 6 got to https://github.com/powershell/powershell
I work with git for home and work project, I recently found you can use alias across all platforms due to the way it runs on windows. So all these aliases will work happily on git for windows and hopefully will make you work day more streamlined.
Some are from sites I have found and other I have created myself.
Continue reading “Using git aliases”
I like to ensure my calendar gets filled for the next week, this way I know what is happening and it is hard to book a last minute meeting to surprise me. I guess this is a productivity hack. If you book more than a week out then you can take whatever time you want that is open.
Ideally no one books last minute but they do and it is really annoying to deal with. Just call me!!
Anyway here is a PowerShell script to block out your calendar for the next week using the Outlook COM API locally. I’m sure I can do the same with rest but I am not up for doing OAuth in PowerShell today. The code is not clean and tidy and has issues which I could fix if I could be bothered but it meets MVP. Feel free to suggest updates.
Continue reading “Filling your calendar for the week, increase productivity! Mileage may vary”