This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |