How To Make A Shutdown Manager In VB.NET

Today I went through my old project and I found a project and wanted to create a tutorial about it so it's a shutdown manager. I couldn't test and make it so much advanced because I don't have time so I will just write down the basic codings .

To Shutdown Computer you can use 

        Shell("shutdown -s")

To Log off Computer you can use

            Shell("shutdown -l")

To Restart Computer you can use

            Shell("shutdown -r")

you can also use System.Diagnostics.Process.Start() 

:)