#PSConfEU 2017 – that’s how it looked a year ago

Short, personal story, about the biggest PowerShell conference in Europe. https://dombrosblog.wordpress.com/psconfeu-2017-en/ (in English) https://dombrosblog.wordpress.com/psconfeu-2017-pl/ (in Polish) How will it be this year? We’ll find out in a moment ;)… I can’t wait 🙂

VM checkpoint operation failed (0x80070005)

Hyper-V error: Checkpoint operation failed. Checkpoint operation was cancelled. General access denied error 0x80070005. Veeam error: ‘ServerName’ could not initiate a checkpoint operation: General access denied error (0x80070005). Sometime after VM migration between hosts, when one host suddenly goes out, few problems can appear. Sometimes two VMs shows up on Hyper-V host with the same name, […]

How to use #Requires

Function, Script The Simplest way: #Requires -Version 3.0 #Requires -Modules ActiveDirectory, DnsClient #Requires -RunAsAdministrator or #Requires -Version 3.0 -Modules ActiveDirectory, DnsClient -RunAsAdministrator if you require exact version: #Requires -Modules PPoShSqlTools, @{ModuleName=”PPoShTools”;ModuleVersion=”1.0.5″} Module # # Module manifest file .psm1 # @{ ModuleVersion = ‘1.0.0’ PowerShellVersion = ‘5.0’ RequiredModules = @(‘PPoShTools’,’PPoShSqlTools’) }

Hyper-V: Remove all VMs snapshots

A few days ago we got a job. Once again update all Windows Server. Because after previous updates we had some problems I decided to do checkpoints for ALL VMs. When asked “How we will remove them?” I said, “This will be one line in PowerShell”. Because it is one line, however, it took me […]

PowerShell and 7-zip >> unzip

Only quintessence: x        – This command preserves the full paths. -aoa  – This switch overwrites all destination files. -r       – Enable recurse subdirectories. ` – to ensure that PowerShell wouldn’t like to interpret.

Windows 10 Original Product Key

Did you ever wonder what is Windows 10 Original Product Key after upgrade from Windows 7 or Windows 8 ? I found that after every upgrade Windows 10 Pro Installed Key is : VK7JG-NPHTM-C97JM-9MPGT-3V66T. What happened with original key ? After some research i found that only two programs (I was searching for scripts also) […]