Skip to main content

Posts

Showing posts from September, 2017

Useful Powershell stuff

ii = Invoke-Item - for files, opens them using windows default program
vim = Opens with vim (custom alias)
csi = C# interactive (custom alias)

Making a self-signed cert for local dev:
New-SelfSignedCertificate -DnsName "localhost" -CertStoreLocation "Cert:\LocalMachine\My\" -FriendlyName "localhost"
(don't forget to install the cert into "Trusted root certificate authorities" via IE)