It performs four basic check on any remote server within the domain using the PowerShell Remoting. The backend operation of this application works on PowerShell and the GUI is designed using WPF (Windows Presentation Framework).
The UI is in .xaml format and it is converted into windows understandable object by a set of filters. Now these objects are mapped to different set of PowerShell scripts. The script work on the basic fundamental of PowerShell remoting.
Check the Memory status of any remote server in domain and dispaly the name of the process using maximum memory and the total memory space consumed on the server.
Check the CPU status of any remote server in domain and dispaly the name of the process using maximum CPU utilization and the total CPU space consumed on the server.
Display the currrent of the enquired service on any remote server. If need can run "Start Service" to start any stopped service.
Displays the current disk space used of any remote server.
It is a way to start up boot up PowerShell.exe on any remote computer within the domain. It works on: • Service used: WinRM (Windows Remoting) Service • Port Used: Uses WS-MAN (Web services for management) It is a variant of HTTP (But it does not talk on port 80 but used 5985 by default). • PowerShell is just one consumer of this service/protocol combo.
It is by default enabled in Windows Server 2012 and later. The communication done is fully encrypted via Kerberos authentication.
- Make a normal WPF (Windows Presentation Framework) solution using Microsoft Visual Studio.
- Grab the content of the Visual Studio xaml file as a string.
- Clean up xml there is syntax which Visual Studio 2015 creates which PowerShell can't understand
- Change string variable into xml
- Read xml data into xaml node reader object
- Create System.Windows.Window object
- Add all the named nodes as members to the $wpf variable, this also adds in the correct type for the objects.
- Now this $wpf variable contains all the below named input and output functionalities in the snap.
- Using these functionalities I have mapped certain PowerShell Scripts.