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
@echo off | |
ECHO Created by Opulent Computing | |
ECHO Version 0.1 | |
ECHO glasshole.bat with Windows Server 2012 R2, 2012, 2008 R2, 2008 DHCP Server. | |
ECHO This batch fill will block any device with in the a MAC address range from obtaining an IP from the servers. | |
ECHO We assume you already have a Windows Server 2012 R2, 2012, 2008 R2, 2008 DHCP Server running. |
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
function Save-KBFile { | |
<# | |
.SYNOPSIS | |
Downloads patches from Microsoft | |
.DESCRIPTION | |
Downloads patches from Microsoft | |
.PARAMETER Name | |
The KB name or number. For example, KB4057119 or 4057119. |
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
# Create a docker volume from cifs/smb share for a containers to use. | |
# Run the below in the docker server shell after you replace server, user, password, and name. | |
docker volume create \ | |
--driver local \ | |
--opt type=cifs \ | |
--opt device=//192.168.1.100/SHANENAME \ | |
--opt o=addr=192.168.1.100,username=USER,password='PASSWORD',file_mode=0777,dir_mode=0777 \ | |
--name DOCKER_VOL_NAME |