Skip to content

Instantly share code, notes, and snippets.

View Symr81's full-sized avatar

Robert Simon Symr81

  • Digitális Bank Rendszerek Kft
  • Hungary, Budapest
View GitHub Profile
# Com Object for making SNMP calls
$SNMP = new-object -ComObject olePrn.OleSNMP
# Printer objects from our print server
$All_Printers = get-printer -ComputerName $Config.PrintServer
# Array of printers to output, which will contain toner data, and some data from our print server.
$Printers = New-Object System.Collections.ArrayList
@screamingjungle
screamingjungle / hypervisor_switch.txt
Created May 2, 2017 22:26
Vagrant - Turn Hyper-V off in Windows
To turn Hypervisor off on windows from a command window: "bcdedit /set hypervisorlaunchtype off" and reboot.
To turn it back on: "bcdedit /set hypervisorlaunchtype on" and reboot.