file Archives - Thomas Maurer Cloud and Datacenter Blog focusing on Microsoft Azure Sat, 10 Jun 2023 13:04:11 +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 file Archives - Thomas Maurer 32 32 71605618 How to Move Files with PowerShell https://www.thomasmaurer.ch/2023/06/how-to-move-files-with-powershell/ https://www.thomasmaurer.ch/2023/06/how-to-move-files-with-powershell/#comments Tue, 06 Jun 2023 05:48:00 +0000 https://www.thomasmaurer.ch/?p=25034 PowerShell is a powerful scripting language that can help you automate various tasks on your Windows and Linux system. One of the common tasks that you may need to perform is moving files from one location to another. In this blog post, I will show you how to use PowerShell to move files with different …

The post How to Move Files with PowerShell appeared first on Thomas Maurer.

]]>
https://www.thomasmaurer.ch/2023/06/how-to-move-files-with-powershell/feed/ 2 25034
PowerShell: Download script or file from GitHub https://www.thomasmaurer.ch/2021/07/powershell-download-script-or-file-from-github/ https://www.thomasmaurer.ch/2021/07/powershell-download-script-or-file-from-github/#comments Tue, 27 Jul 2021 05:13:54 +0000 https://www.thomasmaurer.ch/?p=22142 Since a lot of people are starting to store their scripts and files in GitHub repositories, I often get the question, how can I download a script or a file from a Git repository using PowerShell. There are a couple of ways to you can obviously do this. You could use git and do a …

The post PowerShell: Download script or file from GitHub appeared first on Thomas Maurer.

]]>
https://www.thomasmaurer.ch/2021/07/powershell-download-script-or-file-from-github/feed/ 1 22142
Eject ISO from Hyper-V VM using PowerShell https://www.thomasmaurer.ch/2020/08/eject-iso-from-hyper-v-vm-using-powershell/ https://www.thomasmaurer.ch/2020/08/eject-iso-from-hyper-v-vm-using-powershell/#respond Tue, 18 Aug 2020 06:05:09 +0000 https://www.thomasmaurer.ch/?p=16572 This is one of these quick and dirty blog posts mostly as a note for myself. Hyper-V offers the capability to add an ISO image to a virtual CD/DVD drive and you can use Hyper-V Manager to do that, or you can also use PowerShell. Here is how you can eject or remove an ISO …

The post Eject ISO from Hyper-V VM using PowerShell appeared first on Thomas Maurer.

]]>
https://www.thomasmaurer.ch/2020/08/eject-iso-from-hyper-v-vm-using-powershell/feed/ 0 16572
Add ISO DVD Drive to a Hyper-V VM using PowerShell https://www.thomasmaurer.ch/2020/08/add-iso-dvd-drive-to-a-hyper-v-vm-using-powershell/ https://www.thomasmaurer.ch/2020/08/add-iso-dvd-drive-to-a-hyper-v-vm-using-powershell/#comments Tue, 04 Aug 2020 07:05:53 +0000 https://www.thomasmaurer.ch/?p=16575 Hyper-V offers the capability to add an ISO image to a virtual CD/DVD drive and you can use Hyper-V Manager to do that, or you can also use PowerShell. Here is how you can add an ISO to a Hyper-V virtual machine (VM) using PowerShell. There are two ways of doing it if you already …

The post Add ISO DVD Drive to a Hyper-V VM using PowerShell appeared first on Thomas Maurer.

]]>
https://www.thomasmaurer.ch/2020/08/add-iso-dvd-drive-to-a-hyper-v-vm-using-powershell/feed/ 2 16575
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
Veeam FastSCP for Microsoft Azure https://www.thomasmaurer.ch/2015/08/veeam-fastscp-for-microsoft-azure/ https://www.thomasmaurer.ch/2015/08/veeam-fastscp-for-microsoft-azure/#respond Thu, 20 Aug 2015 14:12:22 +0000 http://www.thomasmaurer.ch/?p=7336 Veeam does some great products for your virtualization and datacenter environment such as their Veeam Backup & Replication suite, Veeam Endpoint Backup FREEĀ and Management Packs for System Center Operations Manager. Now a couple of weeks ago Veeam released a cool free tool call Veeam FastSCP fro Microsoft Azure. With Veeam FastSCP (Secure Copy Protocol) for …

The post Veeam FastSCP for Microsoft Azure appeared first on Thomas Maurer.

]]>
https://www.thomasmaurer.ch/2015/08/veeam-fastscp-for-microsoft-azure/feed/ 0 7336
PowerShell: Sort and Move Files by Date to month and year https://www.thomasmaurer.ch/2015/03/move-files-to-folder-sorted-by-year-and-month-with-powershell/ https://www.thomasmaurer.ch/2015/03/move-files-to-folder-sorted-by-year-and-month-with-powershell/#comments Wed, 04 Mar 2015 16:27:35 +0000 http://www.thomasmaurer.ch/?p=6984 This quick blog post, shows, how you can sort and move files to folder sorted by date (year and month) with PowerShell. I had to sort a lot of files and put them into folders for each month and year. So for example when the files was created/modified in February 2012, the file had to …

The post PowerShell: Sort and Move Files by Date to month and year appeared first on Thomas Maurer.

]]>
https://www.thomasmaurer.ch/2015/03/move-files-to-folder-sorted-by-year-and-month-with-powershell/feed/ 40 6984
PowerShell: Copy files and additional files with different name https://www.thomasmaurer.ch/2011/07/powershell-copy-files-and-additional-files-with-different-name/ https://www.thomasmaurer.ch/2011/07/powershell-copy-files-and-additional-files-with-different-name/#respond Tue, 26 Jul 2011 12:41:24 +0000 http://www.thomasmaurer.ch/?p=2384 This maybe helps some people which need to copy multiple files. In my example I search for Contoso in files called info_*****.txt I need to copy them and also copy the file data_*****.txt. In this blog post, I am going to show you how you can use PowerShell to copy files and additional files with …

The post PowerShell: Copy files and additional files with different name appeared first on Thomas Maurer.

]]>
https://www.thomasmaurer.ch/2011/07/powershell-copy-files-and-additional-files-with-different-name/feed/ 0 2384
Powershell: How to rename all files in a folder https://www.thomasmaurer.ch/2010/08/powershell-how-to-rename-all-files-in-a-folder/ https://www.thomasmaurer.ch/2010/08/powershell-how-to-rename-all-files-in-a-folder/#comments Tue, 31 Aug 2010 06:01:02 +0000 http://www.thomasmaurer.ch/?p=999 Sometimes you need a fast way to rename a lot of file. With Powershell this is pretty easy. You list all files in the directory and you can use this object with a foreach loop. This script basically changes the extension from .JPEG to .jpg: $files = Get-Content foreach ($file in $files) { $newFileName=$file.name.replace(".JPEG",".jpg") Rename-Item …

The post Powershell: How to rename all files in a folder appeared first on Thomas Maurer.

]]>
https://www.thomasmaurer.ch/2010/08/powershell-how-to-rename-all-files-in-a-folder/feed/ 3 999