This file contains 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
cscript wincomputerinfo.vbs |
This file contains 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
@for %i in (a b c d e f g h i j k l m n o p q r s t u v w x y z) do @%i: 2>nul && set/pz=%i <nul |
This file contains 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
/* | |
* jQuery 1.2.3 - New Wave Javascript | |
* | |
* Copyright (c) 2008 John Resig (jquery.com) | |
* Dual licensed under the MIT (MIT-LICENSE.txt) | |
* and GPL (GPL-LICENSE.txt) licenses. | |
* | |
* $Date: 2008-02-06 00:21:25 -0500 (Wed, 06 Feb 2008) $ | |
* $Rev: 4663 $ | |
*/ |
This file contains 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
Several scripts for Windows 8 (not 8.1) | |
Gives a start menu button with shutdown and several other fixes. |
This file contains 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
#!ipxe | |
# | |
# This file gets compiled into undionly.kpxe | |
################################################################ | |
:vars | |
set next-server 192.168.2.121 | |
cpuid --ext 29 && set arch amd64 || set arch x86 | |
:netconfig | |
dhcp net0 || goto ipxeshell | |
:prompt |
This file contains 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
Some windows commands I find useful. |
This file contains 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
@ECHO OFF | |
ECHO Before using this make sure all file types are allowed | |
ECHO Use clear-tftfpfilter.reg @ https://gist.github.com/john-clark/5360694/ | |
:: Command line error check: | |
IF "%1"=="" GOTO Syntax | |
:: Check default | |
IF "%1"=="default" GOTO ResetWDS |
This file contains 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
#!ipxe | |
set use-cached 1 | |
dhcp || goto dhcpfail | |
cpuid --ext 29 && set arch x64 || set arch x86 | |
:prompt | |
prompt --key 0x02 --timeout 2000 Press Ctrl-B to break boot sequence... && goto ipxeshell || | |
chain -ar http://${next-server}/boot/strap.asp && goto exit || echo ERROR: Can't chain to http://${next-server}/boot/strap.asp | |
echo Lets try again... | |
goto prompt | |
:dhcpfail |
This file contains 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
DISM Capture and Deploy | |
----------------------- | |
1. Create a windows install | |
a. Boot & install from windows media | |
(DVD, ISO, USB, PXE) | |
b. Customize | |
i. Run through install until customize screens | |
ii. Enter Audit mode | |
(press CTRL+SHIFT+F3 at first install screen) | |
iii. Configure, Update, and Install software |
This file contains 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
<job id="Partially works"> | |
'filename raa.wsf | |
<script language="VBScript"> | |
'setup | |
Const ForReading = 1, ForWriting = 2, ForAppending = 8 | |
Const TristateUseDefault = -2, TristateTrue = -1, TristateFalse = 0 | |
Set oShell = createobject("WScript.Shell") | |
Set objFSO = CreateObject("Scripting.FileSystemObject") | |
Set objHTTP = CreateObject("Microsoft.XMLHTTP") |
OlderNewer