so the purpose of this video is
to find the shortest way I can
achieve a certain goal
in this video my goal is to
connect to my remote application
that is installed on the Azure virtual machine
but in order to do that
I'' have to logon to porta.azure.com
find my VM
Click on start and allocate the IP address
Click on connect, then from drop-down I will have to click on RDP
Then I'll  have to download the RDP file
Then clikc on it and then I will have to logon to
the virtual machine
and then once the load is complete
I'll have to click on start and find my application
and then start it
after that only, I will be able to
resume my work
which I had paused yesterday
so this is too much of a bother for me
at least or me because I am a very lazy person
and
in order to accomplish
what I did is
I wrote a PowerShell script
That would logon to Azure portal
for me that would download the RDP file
that would find that application and only load that
specific application
it will
also feed in all the credential
that I might have to feed in manually
the only downside is that I will have to click on a couple of connect and yes button
like click on yes or continue if there is any certificate warning
which can be avoided if you
have a certificate installed on
your computer permanently
which is not a regular practice I follow
(on my personal assets) :-)
let's go ahead and click on this batch file
and see what happens
so as soon as I click on the batch file
It will pop open a console and you can see that it's logging in
it takes around 4 seconds to successfully login
and after that, it's now starting the virtual machine
I gave it 40 seconds wait time
because it takes time to allocate IP address and then start and then
all the loading process for the remote application
takes a couple of minutes
Also, the reason why I included progress bar
is because if there isn't any
sometimes what happens
is that users feel
that they might not have double-clicked on the batch file
and this leads to multiple double-clicks
multiple initiations of the process
that can cause some problems
so here I have errr.. as you can see this is completed
and we can find our
IP address
now before we click on continue (connect)
*blacked out*
let me just show you that
the VM is now in running state
and I didn't even have to reload this page anyways
let's go ahead and click on connect
and you can see that this IPaddress on the remote app popup matches with the public IP adreess in the
portal
Now we can go ahead and click on connect
you can see that it's asking for a certificate. I will
click on yes
and then it's going to do its thing
Now it's starting the app
and there it is
you can see that we didn't have to RDP
the entire server
we can directly RDP
inside the application
that is installed on the remote server
you might be wondering
Why I have this Filezilla on the remote server
well that is a long story
and you can read it on my Blog
The link is in the description by the way
Thank you for watching the video
have a good day
Bye Bye
