Jump to content
Sign in to follow this  
mashti

Remote_Admin_Tools (Powershell)

Recommended Posts

Remote_Admin_Tools

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

This is a simple Powershell script to provide a set of 11 tools to make remote administration easy.

 

.DESCRIPTION

 

You can use the below key words to get the corresponding tools.

 

R - To restart a remote server

I - To do IISRESET on a remote web server

W - To do WLBS query on a web server for Windows Load Balancing status

J - To get the status of SQL Job starting with any string you input (You will be prompted to give Server name and Job name string)

V - To start a specific service on a remote machine (Make sure to provide the 'Service Name'properly- as shown in the properties page of the services)

X - To stop a specific service on a remote machine (Make sure to provide the 'Service Name'properly- as shown in the properties page of the services)

T - To get the status of scheduled tasks running on a remote machine (You will be prompted for Server Name)

L - To list and log off selected Terminal Service session on a remote machine (You will be prompted for Server Name)

B - To get the basic inventory of a remote machine (You will be prompted for Server Name)

A - Availability of a Process (Responding or not)

U - Utilization of resources by a process (CPU and Memory)

E - To Exit

 

.IMPORTANT

 

You need an administrative account with domain privileges and SQL access to use this tool.

 

Make sure to exit this application after use, to avoid possible security problems.

 

You need to have PS Terminal Service installed and added to powershell to use the terminal service functions.

 

PLease find the links below for more details.

 

.ERROR HANDLING

 

Much coding is not done to handle all the errors and exceptions, so you might receive errors in non standard scenarios.

 

.LINK

Hidden Content

    Give reaction to this post to see the hidden content.

  • Like 3
  • Thanks 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...