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 | |
REM AWFOS v5.x Backup Script by mark@???? | Feb 2019 | |
REM Requires ShadowSpawn [https://github.com/candera/shadowspawn/downloads] for online backup | |
REM Requires 7zip [https://www.7-zip.org/download.html] for archiving backup | |
REM Requires MSSQL osql [https://docs.microsoft.com/en-us/sql/tools/osql-utility?view=sql-server-2014] for db backup | |
REM Note 1: special quote sequence for variables that contain spaces | |
REM Note 2: this only works for stand-alone/consolidated solution | |
@echo on | |
set "backup-path-1=D:\Program Files (x86)\Avaya" |
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
# Reference: https://www.experts-exchange.com/questions/28995393/check-java-version-using-powershell.html | |
'', 'Wow6432Node\' | | |
ForEach-Object {Get-ItemProperty -Path HKLM:\SOFTWARE\$($_)Microsoft\Windows\CurrentVersion\Uninstall\* | | |
Where-Object {($_.DisplayName -like '*Java *') -and (-not $_.SystemComponent)} | | |
Select-Object DisplayName, DisplayVersion, InstallLocation, @{n='Architecture'; e={If ($_.PSParentPath -like '*Wow6432Node*') {'x86'} Else {'x64'}}}} |
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
; by GeekDude - https://www.autohotkey.com/boards/viewtopic.php?t=5099 | |
Gui,-Caption ; make it borderless | |
Gui, Add, ActiveX, w100 h150, mshtml:<img src='http://www.animatedgif.net/cartoons/A_5odie_e0.gif' /> | |
Gui, Show | |
esc::ExitApp |
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
#OpenJDK - https://jdk.java.net/11/ | |
https://download.java.net/java/GA/jdk11/9/GPL/openjdk-11.0.2_windows-x64_bin.zip | |
#Jython - 2.7 | |
https://repo1.maven.org/maven2/org/python/jython-standalone/2.7.1/jython-standalone-2.7.1.jar | |
#SikuliX1 - 1.1.4 - https://raiman.github.io/SikuliX1/downloads.html | |
https://raiman.github.io/SikuliX1/sikulix.jar | |
#Put all these into a folder. |
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
REM CreateLogFolderWithEventLogs.bat | |
REM ****************************************************** | |
REM SCRIPT TO CREATE LOGS FOLDER ON DESKTOP w/ Event Logs | |
REM ****************************************************** | |
REM by Mark | |
@echo off | |
for /f "tokens=2 delims==" %%a in ('wmic OS Get localdatetime /value') do set "dt=%%a" | |
set "YY=%dt:~2,2%" & set "YYYY=%dt:~0,4%" & set "MM=%dt:~4,2%" & set "DD=%dt:~6,2%" | |
set "HH=%dt:~8,2%" & set "Min=%dt:~10,2%" & set "Sec=%dt:~12,2%" |
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
:: Export Windows System and Application Logs - Evtx format | |
SET LOG_STORE_PATH=c:\temp\EventLogs | |
wevtutil export-log System %LOG_STORE_PATH%\sys.evtx | |
wevtutil export-log Application %LOG_STORE_PATH%\app.evtx |
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
:: Export Windows System and Application Logs - Text file | |
SET LOG_STORE_PATH=c:\temp\EventLogs | |
wevtutil query-events Application /f:text>%LOG_STORE_PATH%\app.txt | |
wevtutil query-events System /f:text>%LOG_STORE_PATH%\sys.txt |
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
sc config "VMwareHostd" start= auto | |
sc config "VMware NAT Service" start= auto | |
sc config "VMUSBArbService" start= auto | |
sc config "VMnetDHCP" start= auto | |
sc config "VMAuthdService" start= auto | |
net start "VMwareHostd" | |
net start "VMware NAT Service" | |
net start "VMUSBArbService" | |
net start "VMnetDHCP" |
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
cd /d "L:\Program Files (x86)\VMware\VMware Workstation" | |
vmrun list | |
start vmrun start "L:\VMs\Windows 10 x32\Windows 10 x32.vmx" |
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
cd /d "L:\Program Files (x86)\VMware\VMware Workstation" | |
vmrun list | |
for /f "tokens=* skip=1" %%a in ('vmrun list') do vmrun suspend "%%a" |
OlderNewer