Personal website
hsimah / poshscripts Goto Github PK
View Code? Open in Web Editor NEWA collection of my PowerShell scripts
A collection of my PowerShell scripts
Handle day change
when day changes kill new window, reopen with a new one
Currently card coded to VS 2015 Community.
Do something like this in Invoke-VisualStudio
switch ($Version) {
"2015 Community" {
$DevEnvPath = "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe"
}
}
Create folder and env var for c:\dev
Add functionality to let shortcuts be pinned to Start/Taskbar.
Currently not available in Windows 10.
A script to:
A script to be run on initial set up of the machine.
Will set env vars, create shortcuts, mount network shares etc.
Create a Scheduled Task to export and clear log files.
Perhaps back them up to OneDrive?
See proxy functions here: https://blogs.technet.microsoft.com/heyscriptingguy/2011/03/01/proxy-functions-spice-up-your-powershell-core-cmdlets/
Write-Output doesn't support colours like Write-Host does.
quick function to change window title
For VS startup script -
log filenames are: orchard-[error|debug]-yyyy-mm-dd.log.
Add token to title for log file tailing. When VS is shut down part of the teardown should close the log file tailing windows.
Creates a persistent env var if one does not exist.
Type must be ExpandString to expand any env var included in the value.
Cmdlet to create a shortcut.
Currently when vs process exits stop-service is called immediately.
change this to ask whether user wants to restart vs or shut down environment.
Since log watcher is for orchard only projects, run it from VS post-build
Prompt user for project name, add to shortcut and pin to start menu
Perhaps work out pinning to task bar.
Change the colour scheme to match debugging messages and error messages.
Configure font and window size.
Generate user profile script and folder for cmdlet dump.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.