-
PowerShell Tip – How to immediately access new disk after mount (Mount-VHD, Mount-DiskImage)
If you inside of a script mount a disk or do other operation that add another disk into system (unlock TrueCrypt protected volume) then you will not be able immediately access it. For example Get-ChildItem -Path X: will not work and you will get an error like you want to access a partition that does…
-
PowerShell advanced function (cmdlet) to create, format, mount and dismount VHD and VHDX files on local and remote computers
I often use Virtual Hard Disk (VHD or VHDX) files for different purposes then disks for virtual machines (VMs). A few examples: Container for temporary data It is possible to use it in home environment for file backups or for differential backups using Windows Server Backup. I like to use VHD as data disk (D:)…
-
PowerShell advanced function (cmdlet) to copy files and folders using Robocopy on a local or remote computer
I wrote Windows PowerShell Cmdlet (Advanced Function) to work with Robocopy. It is possible to use ComputerName (invoke all operations) or Session (use established session) to copy items on a remote computer. Results are not displayed as text but outputted as object. Some of the properties: Directories / Files / Bytes Total Directories / Files…
-
How to manage and configure BitLocker Drive Encryption – Group Policy and backup and restore to and from Active Directory
It is very simple to configure automatic backup of a recovery password in pure server environment. If you have clients then you will probably want to configure self-service portal to get recovery passwords (or at least delegation for Service Desk) but in server environment it is usually enough to use default configuration that only Domain…
-
How to manage and configure BitLocker Drive Encryption – PowerShell and BitLocker on Windows Server 2012 R2
I have heared a lot of questions and a lot of incorrect answers about BitLocker in enterprise environments so I decided to write a series of articles to demystify BitLocker and its management. BitLocker – Difference between Windows 8.1 (client OS) and Windows Server 2012 R2 The most important difference is that you need to…