Create a self signed certificate on Win10 and PS5.1 The cmdlet generates an ssl cert for testing purposes. Unlike makecert this cannot be used to sign a driver or an application code. Get-Command -Module PKI New-SelfSignedCertificate -DnsName test.vmlab.local -CertStoreLocation cert:\LocalMachine\My -Type CodeSigningCert View the Cert: cd cert: dir cd localmachine…
Category: PowerShell
Course 2 – Advanced Tools and Scripting Instead of real time we will do scripting Make tools to use and share DL scripts from here: https://powershell.org/2013/07/29/mva-powershell-jumpstart-2-scripts-for-aug-1st/ Steps to create tools with modules inside scripts and clean them up Automate things you need to do again In Win Server 2012 R2…
Microsoft Virtual Academy, MVA 23/06/2017 Getting started with Powershell 3.0 Jump Start Useful Links: https://Powershell.org https://Powershell.org/wp/ebooks/ http://blogs.msdn.microsoft.com/powershell/ https://ss64.com/ps/ Module 1 – Don’t fear the shell set powershell normal as taskbar icon, can right click and start as admin or start ise right click icon in taskbar > properties > shortcut…
I have recently setup a VM which I wanted to quickly put online/offline or switch between my router Gateway and server Gateway Address. I got tired of clicking through multiple windows and ok buttons and decided to write 2 powershell scripts to do this with one click.The first script sets…