command line Archives - Thomas Maurer Cloud and Datacenter Blog focusing on Microsoft Azure Fri, 16 Dec 2022 09:12:55 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.1 https://www.thomasmaurer.ch/wp-content/uploads/2018/06/cropped-icon1024-32x32.png command line Archives - Thomas Maurer 32 32 71605618 6 Command Line (PowerShell & CLI) Tips & Tricks for Microsoft Azure you should know about! https://www.thomasmaurer.ch/2022/12/6-command-line-powershell-cli-tips-tricks-for-microsoft-azure-you-should-know-about/ https://www.thomasmaurer.ch/2022/12/6-command-line-powershell-cli-tips-tricks-for-microsoft-azure-you-should-know-about/#comments Fri, 16 Dec 2022 09:12:48 +0000 https://www.thomasmaurer.ch/?p=24513 There are many experiences and possibilities to manage your Microsoft Azure resources, one of them being the command line experience using the Azure CLI or Azure PowerShell. In this blog post we are going to have a look at 6 tips & tricks for managing your Microsoft Azure resources using the command line with Azure …

The post 6 Command Line (PowerShell & CLI) Tips & Tricks for Microsoft Azure you should know about! appeared first on Thomas Maurer.

]]>
https://www.thomasmaurer.ch/2022/12/6-command-line-powershell-cli-tips-tricks-for-microsoft-azure-you-should-know-about/feed/ 1 24513
Az Next – AI-powered interactive assistant Azure CLI https://www.thomasmaurer.ch/2021/04/az-next-ai-powered-interactive-assistant-azure-cli/ https://www.thomasmaurer.ch/2021/04/az-next-ai-powered-interactive-assistant-azure-cli/#respond Thu, 01 Apr 2021 07:34:19 +0000 https://www.thomasmaurer.ch/?p=21210 As you know, the Azure CLI already AI-build in with the az find command, and you might have seen a great feature like AI-powered PowerShell module called Az Predictor Module (Azure PowerShell Predictions), which does what the name says, predict PowerShell commands. Now with az next, the team also brought a similar feature to the Azure CLI. The team’s goal with az next is …

The post Az Next – AI-powered interactive assistant Azure CLI appeared first on Thomas Maurer.

]]>
https://www.thomasmaurer.ch/2021/04/az-next-ai-powered-interactive-assistant-azure-cli/feed/ 0 21210
Get System Uptime with PowerShell https://www.thomasmaurer.ch/2021/03/get-system-uptime-with-powershell/ https://www.thomasmaurer.ch/2021/03/get-system-uptime-with-powershell/#comments Thu, 11 Mar 2021 08:24:42 +0000 https://www.thomasmaurer.ch/?p=20150 Sometimes you want to know how long your system is running. There are multiple ways to get the uptime of your system using the GUI or command line. PowerShell also offers a simple way to get the system uptime. If you are running PowerShell 6 or PowerShell 7 you can get the uptime with this …

The post Get System Uptime with PowerShell appeared first on Thomas Maurer.

]]>
https://www.thomasmaurer.ch/2021/03/get-system-uptime-with-powershell/feed/ 3 20150
How to Add Sleep/Wait/Pause in a PowerShell Script https://www.thomasmaurer.ch/2021/01/how-to-add-sleep-wait-pause-in-a-powershell-script/ https://www.thomasmaurer.ch/2021/01/how-to-add-sleep-wait-pause-in-a-powershell-script/#comments Tue, 19 Jan 2021 13:54:38 +0000 https://www.thomasmaurer.ch/?p=20175 Many of you know the “timeout” command we used when we created Windows Batch scripts. This pauses/waits/sleeps the script for a specific amount of time. In PowerShell, we can use the Start-Sleep cmdlet to suspend/pause/sleep/wait the activity in a script or session for the specified period of time. You can use it for many tasks, …

The post How to Add Sleep/Wait/Pause in a PowerShell Script appeared first on Thomas Maurer.

]]>
https://www.thomasmaurer.ch/2021/01/how-to-add-sleep-wait-pause-in-a-powershell-script/feed/ 5 20175
Empty Windows recycle bin with PowerShell https://www.thomasmaurer.ch/2021/01/empty-windows-recycle-bin-with-powershell/ https://www.thomasmaurer.ch/2021/01/empty-windows-recycle-bin-with-powershell/#respond Fri, 15 Jan 2021 14:29:38 +0000 https://www.thomasmaurer.ch/?p=20135 Windows has the concept of the recycle bin, from which you can restore files you have deleted. You might want to clear the Windows recycle bin from time to time, to remove unnecessary files and free up space. You can do that using the Windows user interface, or you can empty the Windows recycle bin …

The post Empty Windows recycle bin with PowerShell appeared first on Thomas Maurer.

]]>
https://www.thomasmaurer.ch/2021/01/empty-windows-recycle-bin-with-powershell/feed/ 0 20135
Install Apps from the Microsoft Store using WinGet https://www.thomasmaurer.ch/2021/01/install-apps-from-the-microsoft-store-using-winget/ https://www.thomasmaurer.ch/2021/01/install-apps-from-the-microsoft-store-using-winget/#comments Thu, 07 Jan 2021 10:24:13 +0000 https://www.thomasmaurer.ch/?p=19982 Back at Build 2020, Microsoft showed a new package manager for Windows called WinGet (Currently in Public Preview). The winget command-line tool enables IT Pros and developers to discover, install, upgrade, remove, and configure applications on Windows 10 computers. This tool is the client interface to the Windows Package Manager service. One of the latest experimental features …

The post Install Apps from the Microsoft Store using WinGet appeared first on Thomas Maurer.

]]>
https://www.thomasmaurer.ch/2021/01/install-apps-from-the-microsoft-store-using-winget/feed/ 2 19982
Recover Files on Windows using the Windows File Recovery Tool https://www.thomasmaurer.ch/2020/06/recover-files-on-windows-using-the-windows-file-recovery-tool/ https://www.thomasmaurer.ch/2020/06/recover-files-on-windows-using-the-windows-file-recovery-tool/#comments Sun, 28 Jun 2020 11:17:32 +0000 https://www.thomasmaurer.ch/?p=17148 Did you accidentally delete an important file, wiping a hard drive or partition, or need to restore corrupted files and data? We all have been there, with the newly released Microsoft Windows File Recovery tool you can recover and restore files on Windows. In this blog post, I am going to show you how you …

The post Recover Files on Windows using the Windows File Recovery Tool appeared first on Thomas Maurer.

]]>
https://www.thomasmaurer.ch/2020/06/recover-files-on-windows-using-the-windows-file-recovery-tool/feed/ 10 17148
How to Change the Windows Terminal Default Shell Profile https://www.thomasmaurer.ch/2020/05/how-to-change-the-windows-terminal-default-shell-profile/ https://www.thomasmaurer.ch/2020/05/how-to-change-the-windows-terminal-default-shell-profile/#comments Sun, 24 May 2020 13:55:44 +0000 https://www.thomasmaurer.ch/?p=16643 The Windows Terminal is now generally available as version 1.0. I already shared a blog post on how to customize the Windows Terminal and shared my personal settings.json file with a lot of different examples, like the integration of PowerShell Remoting, SSH Remoting, changing the background image and much more. One question I got is, …

The post How to Change the Windows Terminal Default Shell Profile appeared first on Thomas Maurer.

]]>
https://www.thomasmaurer.ch/2020/05/how-to-change-the-windows-terminal-default-shell-profile/feed/ 4 16643
Change the Windows Terminal Theme from Light to Dark https://www.thomasmaurer.ch/2019/09/change-the-windows-terminal-theme-from-light-to-dark/ https://www.thomasmaurer.ch/2019/09/change-the-windows-terminal-theme-from-light-to-dark/#comments Tue, 24 Sep 2019 07:18:07 +0000 https://www.thomasmaurer.ch/?p=13406 This is again a very small post on the Windows Terminal, like how to open the Windows Terminal from the command prompt or run and how to change the Windows Terminal background image. This time I got asked about how you switch the Windows Terminal Theme from light to dark. Well, the answer is pretty …

The post Change the Windows Terminal Theme from Light to Dark appeared first on Thomas Maurer.

]]>
https://www.thomasmaurer.ch/2019/09/change-the-windows-terminal-theme-from-light-to-dark/feed/ 2 13406
New Microsoft Code and Terminal Font Cascadia Code https://www.thomasmaurer.ch/2019/09/new-microsoft-code-and-terminal-font-cascadia-code/ https://www.thomasmaurer.ch/2019/09/new-microsoft-code-and-terminal-font-cascadia-code/#comments Thu, 19 Sep 2019 08:04:17 +0000 https://www.thomasmaurer.ch/?p=13376 Cascadia Code is the latest monospaced font shipped from Microsoft focusing on delivering an excellent font for command-line experiences and code editors like Visual Studio Code. The Cascadia Code font was first announced at the Microsoft Build conference in May 2019. And yesterday, Microsoft just released Cascadia Code version 1909.16 and it is available publicly …

The post New Microsoft Code and Terminal Font Cascadia Code appeared first on Thomas Maurer.

]]>
https://www.thomasmaurer.ch/2019/09/new-microsoft-code-and-terminal-font-cascadia-code/feed/ 9 13376