|
1 | 1 | # LazyWinAdmin_GUI |
| 2 | +This is a nice gui |
2 | 3 |
|
| 4 | +REQUIRED: Powershell 2.0, Permissions on the systems queried |
3 | 5 |
|
4 | | -# REQUIRED: -Powershell 2.0, Permissions on the systems queried |
5 | | -# -External Tools: SystemInfo.exe, DriverQuery |
6 | | -# FEATURES: |
7 | | -# -ContextMenu on ComputerName TextBox |
8 | | -# - |
9 | | -# VERSION HISTORY |
10 | | -# 2011.06.24 -Added Application List, PSRemoting, Inventory Buttons moved in TOOLS |
11 | | -# 2011.06.26 -RDP Check/Enable/Disable Added |
12 | | -# 2011.06.29 -Added link to Powershell ISE |
13 | | -# -Services - AutoNotStarted - Check if all the services with StartMode AUTOMATIC are actually Running |
14 | | -# -Services - Auto - Removed ProcessID in results |
15 | | -# 2011.06.30 -Fixed the Problems with Start/Stop Service buttons |
16 | | -# -Add AutoComplete (Append and Suggest) (need to fill the computers.txt) |
17 | | -# -Add AutoDisable Buttons/TabControl if not Server Entered |
18 | | -# -Add Get-USB - Report all the USB device on the Computer |
19 | | -# 2011.08.11 -Correct Compmgmt.msc button |
20 | | -# 2011.08.15 -Title bar with current username and domain |
21 | | -# -Change font from Microsoft Sans cherif to Trebuchet MS |
22 | | -# -Scroll to bottom when text is changed |
23 | | -# -ADD more logs to buttons |
24 | | -# 2011.08.30 -ADD ErrorProvider on TextBox ComputerName |
25 | | -# 2011.08.31 -SYDI Works (only .DOC for now) |
26 | | -# -ADD the tool SysInternals AdExplorer |
27 | | -# 2011.10.02 -FIX Query/Stop/Start Service buttons |
28 | | -# -ADD Descriptions in logs RichTextBox for Query/Stop/Start Service buttons |
29 | | -# -CHANGE Button :80 to HTTP |
30 | | -# -ADD FTP, TELNET, HTTPS buttons |
31 | | -# 2011.10.04 -FIX some problem with Uptime Button |
32 | | -# -FIX Modified The Service Query/start/stop |
33 | | -# -ADD Restart Service Button |
34 | | -# -ADD TextBox with AutoCompletion on some Services i added |
35 | | -# 2011.10.06 -ERROR AutoCompletion in the TEXTBOX of Services seems to make the thing crash :-( |
36 | | -# 2011.10.23 -REMOVE AutoCompletion in Service Tab, in ServiceName TextBox |
37 | | -# -ADD Get Local Hosts File (Menu: LocalHost/Hosts File) |
38 | | -# -ADD Get Remote Hosts File (in General Tab,need permission on remote c$) |
39 | | -# -REMOVE Computers.txt auto-completion, seems buggy :-( |
40 | | -# -ADD Active Directory Form |
41 | | -# -ADD IP Calculator Form |
42 | | -# 2011.11.24 -FIX ENTER-PSSESSION button. |
43 | | -# 2011.12.05 -REPLACED some function by button with icons below Computername |
44 | | -# -MOVED the TEST-PSSESSION button to TOOL tab |
45 | | -# -ADD the TEST-PSSESSION inside the ENTER-PSSESSION button. (2 in 1 :) |
46 | | -# 2011.12.26 -MODIFY Inventory button and output (add more info) |
47 | | -# -MODIFY IpConfig to use the one from BSonPosh module |
48 | | -# 2011.12.28 -ADD button IPCONFIG, DISK USAGE |
49 | | -# 2012.01.06 -ADD START COMMANDS in General Tab |
50 | | -# -ADD SYDI option (dropdown) to choose DOC or XML format. |
51 | | -# -ADD Combobox in TOOLS Tab, and ADD the present tools in combobox |
52 | | -# -REMOVE Buttons in TOOLS tab (the ones placed in Combobox) |
53 | | -# -FIX the ContextMenuStrip on TextBox SERVERNAME. |
54 | | -# -ADD option of type for SYDI (DOC or XML) |
55 | | -# 2012.01.29 -FIX the names of all the variables (for Winforms controls only) |
56 | | -# -ADD Qwinsta and Rwinsta to contextmenu of computername textbox |
57 | | -# -FIX SYDI (DOC and XML now work) auto-save on Desktop of Current User |
58 | | -# -FIX "Installed Applications" show the full names of each application,vendors and versions. |
59 | | -# 2012.01.31 -ADD Connectivity Testing Button (Remote registry, ping, RPC, RDP, WsMan) |
60 | | -# -ADD another more info to ipconfig button |
61 | | -# 2012.02.02 -ADD Invoke-item in SYDI to open the Explorer |
62 | | -# 2012.04.09 -Remove Button Test PsRemoting |
63 | | -# -Moved "Generate a Password" under AdminArsenal Menu |
64 | | -# -Delete Menu TOOLS |
65 | | -# -Change the size of Author Form (smaller) |
66 | | -# 2012.04.10 -Redesign a bit the interface |
67 | | -# -Add a few tabs (Software, Other Powershell script, external tools) |
68 | | -# -Add a Panel for basic connectivity test and properties |
69 | | -# -Correct Logs RichTextBox, fix error "Property ENABLED does not exist" |
70 | | -# -Add some colors to the Connectivity Panel (OK: green, FAIL: red, other: blue) |
71 | | -# -Add PAExec and PSexec in the TOOLS directory, Button are in the tab "External tools". |
72 | | -# by default, it will launch a CMD.exe |
73 | | -# -Moved all the external tools (tools that are not Powershell) under "External Tools" |
74 | | -# 2012.04.14 -Add ActiveDirectory Tab |
75 | | -# -Add GPUpdate function, Tab "Active Directory" |
76 | | -# -Remove EMAIL options |
77 | | -# -Remove NOTEPAD button (export of richtextbox) |
78 | | -# -Add EXPORT RTF button (open in wordpad) |
79 | | -# -Comment all the "Clear-RichTextBox" function use |
80 | | -# -Rename the COPY button (close to the richtextbox) to ClipBoard |
81 | | -# -Move EXIT button to the bottom. |
82 | | -# -Remove PASTE button |
83 | | -# 2012.04.17 -MODIFY Function Add-Logs (Alias, Add the return to line) |
84 | | -# -MODIFY Function Add-RichTextBox (Alias, Add the return to line |
85 | | -# -FIX the ComputersList Load. |
86 | | -# -Clean some variable and add comments of the mainform script. |
87 | | -# -ADD a SCRIPTS folder with the variable: $ScriptsPath |
88 | | -# 2012.04.18 -Upgraded my PrimalForms 2011 to PowerShell Studio 2012 |
89 | | -# -Remove the ListBox from the Beta and readd the buttons |
90 | | -# 2012.04.20 -Ability to Maximize the windows (i used WinForm Docking/Move Front,Back) |
91 | | -# 2012.05.12 -Cleaning Some code |
92 | | -# -Fixes some bugs |
93 | | -# -Remove unused Functions |
94 | | -# -Checking if tools are present when the form load, disable buttons if not present. |
95 | | -# -Add MotherBoard,PageFile Settings, System Type buttons |
96 | | -# -AD KMS Information, FSMO |
97 | | -# 2012.05.16 -Adding functions BackgroundJobs for long process(not used yet) |
98 | | -# 2012.05.17 -Renaming a couple of buttons and add ToolTip Info for each. |
99 | | -# -Modify Ipconfig button under Network, only one result come out now |
100 | | -# -Remove the ROUTE PRINT button form Network, kept only ROUTE TABLE |
101 | | -# -Add a button to show Process CommandLine Argument (command line used to launch each process) |
102 | | -# -Modify Button CommandLine with Out-String Width = $richtextbox.width |
103 | | -# -Modify Button Shares with Out-String Width = $richtextbox.width |
104 | | -# -CTRL+Scroll in the RichTextBox is working now |
105 | | -# -Richtextbox dont overlap on middle bar anymore (middle bar=buttons exit,copy clipboard...) |
106 | | -# -Add Button to change and set local Computer Description |
107 | | -# -Add Button to change and set Active Directory Computer Description |
108 | | -# 2012.05.28 -Getting ready for a public open source version |
109 | | -# -Remove and move a couple of function, tabs and unused buttons |
110 | | -# -Add Tip info on most of the button (pass over button help) |
111 | | -# -Add WindowsUpdate.log and ReportingEvents.log Button |
112 | | -# -Fix Open C$ button |
113 | | -# -Icons added to the main functions |
114 | | -# -OnLoad of the Form, the script will test the path of the scrtips and External tools |
115 | | -# if not present, the script will disable the buttons |
116 | | -# -Load of Computers.txt works with an Export to PS1 (not with Export to EXE) |
117 | | -# 2012.05.30 -Corrected color of the check buttons |
118 | | -# -Corrected the Restart and Shutdown button to have a prompt. |
119 | | -# -Corrected MsINFO32.exe check (during the load of the form) |
120 | | -# 2012.06.06 -Changed some Icons |
121 | | -# -Add confirmation on EXIT Button |
122 | | -# 2012.06.07 -Press Enter on ComputerTxtBox will ping the machine |
123 | | -# -Modified the CHECK, now the full OS information is returned |
124 | | -# 2012.06.10 -Fixed the directory issue (scripts tools) |
125 | | -# 2012.06.13 -Renamed the forms |
126 | | -# -Removed the form "LocalHost Current information" |
127 | | -# -Fix Qwinsta and Rwinsta, if and else based on 32 or 64bits now |
128 | | -# -Align the CHECK textboxes |
| 6 | + |
| 7 | +OPTIONAL: External Tools: SystemInfo.exe, DriverQuery |
| 8 | + |
| 9 | + |
| 10 | +VERSION HISTORY |
| 11 | + |
| 12 | +2011.06.29 |
| 13 | +Added link to Powershell ISE |
| 14 | +2011.06.26 |
| 15 | +RDP Check/Enable/Disable Added |
| 16 | +2011.06.24 |
| 17 | +Added Application List, PSRemoting, Inventory Buttons moved in TOOLS |
| 18 | + -Services - AutoNotStarted - Check if all the services with StartMode AUTOMATIC are actually Running |
| 19 | + -Services - Auto - Removed ProcessID in results |
| 20 | +2011.06.30 -Fixed the Problems with Start/Stop Service buttons |
| 21 | + -Add AutoComplete (Append and Suggest) (need to fill the computers.txt) |
| 22 | + -Add AutoDisable Buttons/TabControl if not Server Entered |
| 23 | + -Add Get-USB - Report all the USB device on the Computer |
| 24 | +2011.08.11 -Correct Compmgmt.msc button |
| 25 | +2011.08.15 -Title bar with current username and domain |
| 26 | + -Change font from Microsoft Sans cherif to Trebuchet MS |
| 27 | + -Scroll to bottom when text is changed |
| 28 | + -ADD more logs to buttons |
| 29 | +2011.08.30 -ADD ErrorProvider on TextBox ComputerName |
| 30 | +2011.08.31 -SYDI Works (only .DOC for now) |
| 31 | + -ADD the tool SysInternals AdExplorer |
| 32 | +2011.10.02 -FIX Query/Stop/Start Service buttons |
| 33 | + -ADD Descriptions in logs RichTextBox for Query/Stop/Start Service buttons |
| 34 | + -CHANGE Button :80 to HTTP |
| 35 | + -ADD FTP, TELNET, HTTPS buttons |
| 36 | +2011.10.04 -FIX some problem with Uptime Button |
| 37 | + -FIX Modified The Service Query/start/stop |
| 38 | + -ADD Restart Service Button |
| 39 | + -ADD TextBox with AutoCompletion on some Services i added |
| 40 | +2011.10.06 -ERROR AutoCompletion in the TEXTBOX of Services seems to make the thing crash :-( |
| 41 | +2011.10.23 -REMOVE AutoCompletion in Service Tab, in ServiceName TextBox |
| 42 | + -ADD Get Local Hosts File (Menu: LocalHost/Hosts File) |
| 43 | + -ADD Get Remote Hosts File (in General Tab,need permission on remote c$) |
| 44 | + -REMOVE Computers.txt auto-completion, seems buggy :-( |
| 45 | + -ADD Active Directory Form |
| 46 | + -ADD IP Calculator Form |
| 47 | +2011.11.24 -FIX ENTER-PSSESSION button. |
| 48 | +2011.12.05 -REPLACED some function by button with icons below Computername |
| 49 | + -MOVED the TEST-PSSESSION button to TOOL tab |
| 50 | + -ADD the TEST-PSSESSION inside the ENTER-PSSESSION button. (2 in 1 :) |
| 51 | +2011.12.26 -MODIFY Inventory button and output (add more info) |
| 52 | + -MODIFY IpConfig to use the one from BSonPosh module |
| 53 | +2011.12.28 -ADD button IPCONFIG, DISK USAGE |
| 54 | +2012.01.06 -ADD START COMMANDS in General Tab |
| 55 | + -ADD SYDI option (dropdown) to choose DOC or XML format. |
| 56 | + -ADD Combobox in TOOLS Tab, and ADD the present tools in combobox |
| 57 | + -REMOVE Buttons in TOOLS tab (the ones placed in Combobox) |
| 58 | + -FIX the ContextMenuStrip on TextBox SERVERNAME. |
| 59 | + -ADD option of type for SYDI (DOC or XML) |
| 60 | +2012.01.29 -FIX the names of all the variables (for Winforms controls only) |
| 61 | + -ADD Qwinsta and Rwinsta to contextmenu of computername textbox |
| 62 | + -FIX SYDI (DOC and XML now work) auto-save on Desktop of Current User |
| 63 | + -FIX "Installed Applications" show the full names of each application,vendors and versions. |
| 64 | +2012.01.31 -ADD Connectivity Testing Button (Remote registry, ping, RPC, RDP, WsMan) |
| 65 | + -ADD another more info to ipconfig button |
| 66 | +2012.02.02 -ADD Invoke-item in SYDI to open the Explorer |
| 67 | +2012.04.09 -Remove Button Test PsRemoting |
| 68 | + -Moved "Generate a Password" under AdminArsenal Menu |
| 69 | + -Delete Menu TOOLS |
| 70 | + -Change the size of Author Form (smaller) |
| 71 | +2012.04.10 -Redesign a bit the interface |
| 72 | + -Add a few tabs (Software, Other Powershell script, external tools) |
| 73 | + -Add a Panel for basic connectivity test and properties |
| 74 | + -Correct Logs RichTextBox, fix error "Property ENABLED does not exist" |
| 75 | + -Add some colors to the Connectivity Panel (OK: green, FAIL: red, other: blue) |
| 76 | + -Add PAExec and PSexec in the TOOLS directory, Button are in the tab "External tools". |
| 77 | + by default, it will launch a CMD.exe |
| 78 | + -Moved all the external tools (tools that are not Powershell) under "External Tools" |
| 79 | +2012.04.14 -Add ActiveDirectory Tab |
| 80 | + -Add GPUpdate function, Tab "Active Directory" |
| 81 | + -Remove EMAIL options |
| 82 | + -Remove NOTEPAD button (export of richtextbox) |
| 83 | + -Add EXPORT RTF button (open in wordpad) |
| 84 | + -Comment all the "Clear-RichTextBox" function use |
| 85 | + -Rename the COPY button (close to the richtextbox) to ClipBoard |
| 86 | + -Move EXIT button to the bottom. |
| 87 | + -Remove PASTE button |
| 88 | +2012.04.17 -MODIFY Function Add-Logs (Alias, Add the return to line) |
| 89 | + -MODIFY Function Add-RichTextBox (Alias, Add the return to line |
| 90 | + -FIX the ComputersList Load. |
| 91 | + -Clean some variable and add comments of the mainform script. |
| 92 | + -ADD a SCRIPTS folder with the variable: $ScriptsPath |
| 93 | +2012.04.18 -Upgraded my PrimalForms 2011 to PowerShell Studio 2012 |
| 94 | + -Remove the ListBox from the Beta and readd the buttons |
| 95 | +2012.04.20 -Ability to Maximize the windows (i used WinForm Docking/Move Front,Back) |
| 96 | +2012.05.12 -Cleaning Some code |
| 97 | + -Fixes some bugs |
| 98 | + -Remove unused Functions |
| 99 | + -Checking if tools are present when the form load, disable buttons if not present. |
| 100 | + -Add MotherBoard,PageFile Settings, System Type buttons |
| 101 | + -AD KMS Information, FSMO |
| 102 | +2012.05.16 -Adding functions BackgroundJobs for long process(not used yet) |
| 103 | +2012.05.17 -Renaming a couple of buttons and add ToolTip Info for each. |
| 104 | + -Modify Ipconfig button under Network, only one result come out now |
| 105 | + -Remove the ROUTE PRINT button form Network, kept only ROUTE TABLE |
| 106 | + -Add a button to show Process CommandLine Argument (command line used to launch each process) |
| 107 | + -Modify Button CommandLine with Out-String Width = $richtextbox.width |
| 108 | + -Modify Button Shares with Out-String Width = $richtextbox.width |
| 109 | + -CTRL+Scroll in the RichTextBox is working now |
| 110 | + -Richtextbox dont overlap on middle bar anymore (middle bar=buttons exit,copy clipboard...) |
| 111 | + -Add Button to change and set local Computer Description |
| 112 | + -Add Button to change and set Active Directory Computer Description |
| 113 | +2012.05.28 -Getting ready for a public open source version |
| 114 | + -Remove and move a couple of function, tabs and unused buttons |
| 115 | + -Add Tip info on most of the button (pass over button help) |
| 116 | + -Add WindowsUpdate.log and ReportingEvents.log Button |
| 117 | + -Fix Open C$ button |
| 118 | + -Icons added to the main functions |
| 119 | + -OnLoad of the Form, the script will test the path of the scrtips and External tools |
| 120 | + if not present, the script will disable the buttons |
| 121 | + -Load of Computers.txt works with an Export to PS1 (not with Export to EXE) |
| 122 | +2012.05.30 -Corrected color of the check buttons |
| 123 | + -Corrected the Restart and Shutdown button to have a prompt. |
| 124 | + -Corrected MsINFO32.exe check (during the load of the form) |
| 125 | +2012.06.06 -Changed some Icons |
| 126 | + -Add confirmation on EXIT Button |
| 127 | +2012.06.07 -Press Enter on ComputerTxtBox will ping the machine |
| 128 | + -Modified the CHECK, now the full OS information is returned |
| 129 | +2012.06.10 -Fixed the directory issue (scripts tools) |
| 130 | +2012.06.13 -Renamed the forms |
| 131 | + -Removed the form "LocalHost Current information" |
| 132 | + -Fix Qwinsta and Rwinsta, if and else based on 32 or 64bits now |
| 133 | + -Align the CHECK textboxes |
0 commit comments