Categories
- Education (6)
- Fix IT (30)
- Information Technology (53)
- Tips (7)
- Uncategorized (7)
Tags
Author Archives: maoeh
Export Hyper-V configuration
Code Details option explicit dim objWMIService dim managementService dim fileSystem const JobStarting = 3 const JobRunning = 4 const JobCompleted = 7 const wmiStarted = 4096 const wmiSuccessful = 0 Main() ‘—————————————————————– ‘ Main ‘—————————————————————– Sub … Continue reading
Posted in Information Technology
Tagged Backup, HyperV, vbscript
Comments Off on Export Hyper-V configuration
Import Hyper-V Configuration
Code Description Author: http://blogs.technet.com/virtualization/archive/2009/05/29/hyper-v-r2-import-export-part-6-so-what-happened-to-configuration-only-export.aspx Date: Desription: Just pasted here for easy access to the vbscript Example: option explicit dim objWMIService dim managementService dim switchService dim fileSystem const JobStarting = 3 const JobRunning = 4 const JobCompleted = 7 … Continue reading
Posted in Information Technology
Tagged Backup, HyperV, vbscript
Comments Off on Import Hyper-V Configuration
USB bootable with Diskpart
DISKPART> list disk Disk ### Status Size Free Dyn Gpt ——– ———- ——- ——- — — Disk 0 Online 279 GB 88 GB Disk 1 Online 190 GB 5780 KB Disk 2 Online 233 GB 673 KB * Disk 3 … Continue reading
Scheduled task error – Could not run
Problem: A scheduled task running on windows 2003 shows status “could not run” . The task is starting a batch (cmd) running some simple dos shell commands. So nothing special. Solution: Rights for user BATCH on %windir%\system32\cmd.exe missing Add rights … Continue reading
Posted in Information Technology
Tagged errorlevel
Comments Off on Scheduled task error – Could not run
Scheduled task last result 0x2
Problem | A scheduled task running a command shell is returning “last result 0x2” but everything is fine. Reason | The last command within the batch is returning an errorlevel ; 0. This could be robocopy ending with skipped files. … Continue reading
Posted in Information Technology, Uncategorized
Tagged errorlevel
Comments Off on Scheduled task last result 0x2
DNSMadeEasy DDNS update script
Controlled update of DDNS Author: Martin Oehy Date: 2010 04 11 Desription: this Script replaces the executable provided by DNSMade Easy. So you can track changes of your DHCP provider. Parameter: Change your ID’s, Name , Password and Log Location … Continue reading
Posted in Information Technology
Tagged code, ddns, vbscript
Comments Off on DNSMadeEasy DDNS update script