References:
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
$a=gci Data* | |
$xls=new-object -comobject excel.application | |
$sheets=$xls.workbooks.open($a.fullname).worksheets | |
$xls.displayalerts=$false | |
foreach($sheet in $sheets){$sheet.saveas($a.directoryname + "\" + $sheet.name + ".csv",6)} | |
import-csv(gci *.csv)|export-csv all.csv |
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
# Clear the host | |
Clear-Host | |
# Write/Log the starting date and time | |
Write-Host "Desktime Hack Started At" (Get-Date -Format G) -ForegroundColor Red | |
# Load assembly to manipulate mouse funationality | |
Add-Type -AssemblyName System.Windows.Forms | |
Add-Type @" |
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
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"globals": { | |
"alwaysShowTabs": true, | |
"defaultProfile": "{79285a8e-036c-446f-8a9c-78994e34cf85}", | |
"initialCols": 120, | |
"initialRows": 30, | |
"requestedTheme": "dark", | |
"keybindings": [ | |
{ |