├── Mahapps
├── Icons.xaml
├── MahApps.Metro.dll
├── Page_Mahapps.xaml
└── System.Windows.Interactivity.dll
├── Material Design
├── MaterialDesignColors.dll
├── MaterialDesignThemes.Wpf.dll
└── default_MaterialDesign.xaml
├── Projects
├── AES
│ ├── Password.ps1
│ ├── SecurePass.xaml
│ ├── assembly
│ │ ├── MahApps.Metro.IconPacks.FontAwesome.dll
│ │ ├── MahApps.Metro.IconPacks.Material.dll
│ │ ├── MahApps.Metro.IconPacks.MaterialLight.dll
│ │ ├── MahApps.Metro.IconPacks.Modern.dll
│ │ ├── MahApps.Metro.IconPacks.dll
│ │ ├── MahApps.Metro.dll
│ │ └── System.Windows.Interactivity.dll
│ ├── images
│ │ └── shield_green.png
│ └── resources
│ │ ├── Icons.xaml
│ │ └── custom.xaml
├── DragaBlz
│ ├── Demo.ps1
│ ├── assembly
│ │ ├── ControlzEx.dll
│ │ ├── Dragablz.dll
│ │ ├── MahApps.Metro.dll
│ │ ├── MaterialDesignColors.dll
│ │ ├── MaterialDesignThemes.Wpf.dll
│ │ └── System.Windows.Interactivity.dll
│ ├── images
│ │ └── wpf.jpg
│ └── main.xaml
├── Module Pwsh Management
│ ├── Main.xaml
│ ├── WUM.ps1
│ ├── assembly
│ │ ├── ControlzEx.dll
│ │ ├── MahApps.Metro.IconPacks.FontAwesome.dll
│ │ ├── MahApps.Metro.IconPacks.Material.dll
│ │ ├── MahApps.Metro.IconPacks.MaterialLight.dll
│ │ ├── MahApps.Metro.IconPacks.Modern.dll
│ │ ├── MahApps.Metro.IconPacks.dll
│ │ ├── MahApps.Metro.dll
│ │ └── System.Windows.Interactivity.dll
│ ├── images
│ │ ├── PwshG.png
│ │ ├── PwshG1.png
│ │ └── Thumbs.db
│ ├── resources
│ │ ├── Icons.xaml
│ │ └── custom.xaml
│ └── views
│ │ ├── InstalleOne.xaml
│ │ ├── Installed.xaml
│ │ └── Updated.xaml
├── OpenSSH
│ ├── EXE
│ │ └── OpenSSH.exe
│ └── Source
│ │ ├── Main.xaml
│ │ ├── OpenSSH.ps1
│ │ ├── assembly
│ │ ├── MahApps.Metro.dll
│ │ └── System.Windows.Interactivity.dll
│ │ ├── images
│ │ └── ssl.png
│ │ └── resources
│ │ ├── Icons.xaml
│ │ └── custom.xaml
├── Pwsh Tweet Apps
│ ├── Pwsh.ps1
│ ├── assembly
│ │ ├── ControlzEx.dll
│ │ ├── MahApps.Metro.dll
│ │ ├── MaterialDesignColors.dll
│ │ ├── MaterialDesignThemes.Wpf.dll
│ │ └── System.Windows.Interactivity.dll
│ ├── images
│ │ └── wpf.jpg
│ ├── main.xaml
│ └── resources
│ │ ├── Icons.xaml
│ │ └── custom.xaml
├── Size
│ ├── Size.ps1
│ ├── assembly
│ │ ├── ControlzEx.dll
│ │ ├── ControlzEx.pdb
│ │ ├── LiveCharts.Wpf.XML
│ │ ├── LiveCharts.Wpf.dll
│ │ ├── LiveCharts.Wpf.pdb
│ │ ├── LiveCharts.dll
│ │ ├── LiveCharts.pdb
│ │ ├── LiveCharts.xml
│ │ ├── MahApps.Metro.IconPacks.FontAwesome.dll
│ │ ├── MahApps.Metro.IconPacks.Material.dll
│ │ ├── MahApps.Metro.IconPacks.MaterialLight.dll
│ │ ├── MahApps.Metro.IconPacks.Modern.dll
│ │ ├── MahApps.Metro.IconPacks.dll
│ │ ├── MahApps.Metro.dll
│ │ ├── MahApps.Metro.pdb
│ │ ├── MahApps.Metro.xml
│ │ ├── System.Windows.Interactivity.dll
│ │ └── dev4sys.Tree.dll
│ ├── images
│ │ ├── folder.png
│ │ └── views.png
│ ├── main.xaml
│ └── resources
│ │ └── Icons.xaml
└── Windows10_Design_WPF
│ ├── README.md
│ ├── W10_WPF_GUI.ps1
│ ├── W10_WPF_GUI.xaml
│ ├── W10_WPF_GUI_F.ps1
│ ├── assembly
│ ├── MahApps.Metro.IconPacks.dll
│ ├── MahApps.Metro.dll
│ └── System.Windows.Interactivity.dll
│ ├── images
│ ├── Winlogo.png
│ ├── background.jpg
│ ├── beyond.png
│ ├── bluetooth.ico
│ ├── chrome.png
│ ├── excel.ico
│ ├── folder.png
│ ├── google.png
│ ├── mcafee.png
│ ├── notepad.png
│ ├── powerpoint.png
│ ├── powershell.png
│ ├── snipping.png
│ └── vendor
│ │ ├── 1E.png
│ │ ├── 7z.png
│ │ ├── Autodesk.png
│ │ ├── adobe.png
│ │ ├── avg.png
│ │ ├── cisco.png
│ │ ├── citrix.png
│ │ ├── dell.png
│ │ ├── dropbox.png
│ │ ├── filezilla.png
│ │ ├── firefox.png
│ │ ├── google.png
│ │ ├── hp.png
│ │ ├── intel.png
│ │ ├── intel2.png
│ │ ├── itunes.png
│ │ ├── lenovo.png
│ │ ├── mcafee.png
│ │ ├── mcafee2.png
│ │ ├── microsoft.png
│ │ ├── norton.png
│ │ ├── office.png
│ │ ├── onedrive.png
│ │ ├── onedrive2.png
│ │ ├── oracle.png
│ │ ├── oracle2.png
│ │ ├── outlook.png
│ │ ├── photoshop.png
│ │ ├── project.png
│ │ ├── publisher.png
│ │ ├── sccm.png
│ │ ├── skype.png
│ │ ├── symantec.png
│ │ ├── visual studio.png
│ │ ├── vlc.png
│ │ ├── vmware.png
│ │ ├── winrar.png
│ │ ├── winzip.png
│ │ └── word.png
│ ├── img
│ └── Windows 10 Update.gif
│ └── resources
│ ├── Icons.xaml
│ └── custom.xaml
└── README.md
/Mahapps/MahApps.Metro.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Mahapps/MahApps.Metro.dll
--------------------------------------------------------------------------------
/Mahapps/Page_Mahapps.xaml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
--------------------------------------------------------------------------------
/Mahapps/System.Windows.Interactivity.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Mahapps/System.Windows.Interactivity.dll
--------------------------------------------------------------------------------
/Material Design/MaterialDesignColors.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Material Design/MaterialDesignColors.dll
--------------------------------------------------------------------------------
/Material Design/MaterialDesignThemes.Wpf.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Material Design/MaterialDesignThemes.Wpf.dll
--------------------------------------------------------------------------------
/Material Design/default_MaterialDesign.xaml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/Projects/AES/Password.ps1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/AES/Password.ps1
--------------------------------------------------------------------------------
/Projects/AES/SecurePass.xaml:
--------------------------------------------------------------------------------
1 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 | StormShield
45 | PhotonOs
46 | vSphereLab
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
59 |
61 |
67 |
68 |
69 |
70 |
71 |
76 |
78 |
84 |
85 |
86 |
87 |
88 |
93 |
95 |
102 |
103 |
104 |
108 |
110 |
117 |
118 |
119 |
120 |
121 |
122 |
141 |
142 |
147 |
148 |
158 |
168 |
169 |
170 |
171 |
172 |
--------------------------------------------------------------------------------
/Projects/AES/assembly/MahApps.Metro.IconPacks.FontAwesome.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/AES/assembly/MahApps.Metro.IconPacks.FontAwesome.dll
--------------------------------------------------------------------------------
/Projects/AES/assembly/MahApps.Metro.IconPacks.Material.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/AES/assembly/MahApps.Metro.IconPacks.Material.dll
--------------------------------------------------------------------------------
/Projects/AES/assembly/MahApps.Metro.IconPacks.MaterialLight.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/AES/assembly/MahApps.Metro.IconPacks.MaterialLight.dll
--------------------------------------------------------------------------------
/Projects/AES/assembly/MahApps.Metro.IconPacks.Modern.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/AES/assembly/MahApps.Metro.IconPacks.Modern.dll
--------------------------------------------------------------------------------
/Projects/AES/assembly/MahApps.Metro.IconPacks.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/AES/assembly/MahApps.Metro.IconPacks.dll
--------------------------------------------------------------------------------
/Projects/AES/assembly/MahApps.Metro.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/AES/assembly/MahApps.Metro.dll
--------------------------------------------------------------------------------
/Projects/AES/assembly/System.Windows.Interactivity.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/AES/assembly/System.Windows.Interactivity.dll
--------------------------------------------------------------------------------
/Projects/AES/images/shield_green.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/AES/images/shield_green.png
--------------------------------------------------------------------------------
/Projects/AES/resources/custom.xaml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
43 |
44 |
--------------------------------------------------------------------------------
/Projects/DragaBlz/Demo.ps1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/DragaBlz/Demo.ps1
--------------------------------------------------------------------------------
/Projects/DragaBlz/assembly/ControlzEx.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/DragaBlz/assembly/ControlzEx.dll
--------------------------------------------------------------------------------
/Projects/DragaBlz/assembly/Dragablz.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/DragaBlz/assembly/Dragablz.dll
--------------------------------------------------------------------------------
/Projects/DragaBlz/assembly/MahApps.Metro.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/DragaBlz/assembly/MahApps.Metro.dll
--------------------------------------------------------------------------------
/Projects/DragaBlz/assembly/MaterialDesignColors.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/DragaBlz/assembly/MaterialDesignColors.dll
--------------------------------------------------------------------------------
/Projects/DragaBlz/assembly/MaterialDesignThemes.Wpf.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/DragaBlz/assembly/MaterialDesignThemes.Wpf.dll
--------------------------------------------------------------------------------
/Projects/DragaBlz/assembly/System.Windows.Interactivity.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/DragaBlz/assembly/System.Windows.Interactivity.dll
--------------------------------------------------------------------------------
/Projects/DragaBlz/images/wpf.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/DragaBlz/images/wpf.jpg
--------------------------------------------------------------------------------
/Projects/DragaBlz/main.xaml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 | Wellcome Dragabz in #WPF #XAML
63 |
68 |
69 |
71 |
72 |
73 |
83 |
84 |
85 |
86 |
87 | Sample_1
88 |
93 |
94 |
96 |
97 |
98 |
108 |
109 |
110 |
111 |
112 | Sample_2
113 |
118 |
119 |
121 |
122 |
123 |
133 |
134 |
135 |
136 |
137 |
--------------------------------------------------------------------------------
/Projects/Module Pwsh Management/Main.xaml:
--------------------------------------------------------------------------------
1 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
99 |
100 |
101 |
102 |
104 |
105 |
106 |
107 |
108 |
109 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
136 |
142 |
143 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
--------------------------------------------------------------------------------
/Projects/Module Pwsh Management/WUM.ps1:
--------------------------------------------------------------------------------
1 | #========================================================================
2 | #
3 | # Tool Name : Module Pwsh Management
4 | # Author : Jérôme Bezet-Torres
5 | # Date : 16/07/2018
6 | # Website : http://JM2K69.github.io/
7 | # Twitter : https://twitter.com/JM2K69
8 | #
9 | #========================================================================
10 |
11 | [System.Reflection.Assembly]::LoadWithPartialName('presentationframework') | out-null
12 | [System.Reflection.Assembly]::LoadFrom('assembly\MahApps.Metro.dll') | out-null
13 | [System.Reflection.Assembly]::LoadFrom('assembly\ControlzEx.dll') | out-null
14 | [System.Reflection.Assembly]::LoadFrom('assembly\MahApps.Metro.IconPacks.dll') | out-null
15 | [System.Reflection.Assembly]::LoadFrom('assembly\MahApps.Metro.IconPacks.FontAwesome.dll') | out-null
16 | [System.Reflection.Assembly]::LoadFrom('assembly\System.Windows.Interactivity.dll') | out-null
17 | Add-Type -AssemblyName "System.Windows.Forms"
18 | Add-Type -AssemblyName "System.Drawing"
19 | [System.Windows.Forms.Application]::EnableVisualStyles()
20 |
21 | #########################################################################
22 | # Load Main Panel #
23 | #########################################################################
24 | $Global:pathPanel= split-path -parent $MyInvocation.MyCommand.Definition
25 |
26 | function LoadXaml ($filename){
27 | $XamlLoader=(New-Object System.Xml.XmlDocument)
28 | $XamlLoader.Load($filename)
29 | return $XamlLoader
30 | }
31 | $XamlMainWindow=LoadXaml($pathPanel+"\Main.xaml")
32 | $reader = (New-Object System.Xml.XmlNodeReader $XamlMainWindow)
33 | $Form = [Windows.Markup.XamlReader]::Load($reader)
34 |
35 |
36 | #########################################################################
37 | # HAMBURGER VIEWS #
38 | #########################################################################
39 |
40 | #******************* Item in the menu *****************
41 | $Installed = $Form.FindName("Installed")
42 | $Updated = $Form.FindName("Updated")
43 | $InstalleOne = $Form.FindName("InstalleOne")
44 |
45 | #******************* Generral controls *****************
46 | $TabMenuHamburger = $Form.FindName("TabMenuHamburger")
47 |
48 | #******************* Load Other Views *****************
49 | $viewFolder = $pathPanel +"\views"
50 |
51 | $XamlChildWindow = LoadXaml($viewFolder+"\Installed.xaml")
52 | $Childreader = (New-Object System.Xml.XmlNodeReader $XamlChildWindow)
53 | $Installed_Xaml = [Windows.Markup.XamlReader]::Load($Childreader)
54 | $Installed.Children.Add($Installed_Xaml) | Out-Null
55 |
56 | $XamlChildWindow = LoadXaml($viewFolder+"\InstalleOne.xaml")
57 | $Childreader = (New-Object System.Xml.XmlNodeReader $XamlChildWindow)
58 | $InstalleOne_Xaml = [Windows.Markup.XamlReader]::Load($Childreader)
59 | $InstalleOne.Children.Add($InstalleOne_Xaml ) | Out-Null
60 |
61 | $XamlChildWindow = LoadXaml($viewFolder+"\Updated.xaml")
62 | $Childreader = (New-Object System.Xml.XmlNodeReader $XamlChildWindow)
63 | $Updated_Xaml = [Windows.Markup.XamlReader]::Load($Childreader)
64 | $Updated.Children.Add($Updated_Xaml ) | Out-Null
65 |
66 |
67 | $XamlMainWindow.SelectNodes("//*[@Name]") | %{
68 | try {Set-Variable -Name "$($_.Name)" -Value $Form.FindName($_.Name) -ErrorAction Stop}
69 | catch{throw}
70 | }
71 | #******************************************************
72 | # Initialize with the first value of Item Section *****
73 | #******************************************************
74 |
75 | $TabMenuHamburger.SelectedItem = $TabMenuHamburger.ItemsSource[0]
76 | $Global:Cart = New-Object System.Collections.ArrayList
77 |
78 | #########################################################################
79 | # HAMBURGER EVENTS #
80 | #########################################################################
81 |
82 |
83 | #******************* Items Section *******************
84 | # Controls for Connection part
85 | $DataGrid_Installed = $Installed_Xaml.FindName("DataGrid_Installed")
86 | $FindInstallModule = $Installed_Xaml.FindName("FindIM")
87 | $NBInstallModule = $Installed_Xaml.FindName("NBModInstall")
88 |
89 | $UpdatedMod = $Updated_Xaml.FindName("Update")
90 | $BadgeMod_S = $Updated_Xaml.FindName("B_Add")
91 | $UpdatedMod_S = $Updated_Xaml.FindName("Update_S")
92 | $FindUpdatedMod = $Updated_Xaml.FindName("Find")
93 | $DataGrid_Updated = $Updated_Xaml.FindName("DataGrid_Updated")
94 | $NBupdateModule = $Updated_Xaml.FindName("NBUpdateMod")
95 | $Scopes = $Updated_Xaml.FindName("Scopes")
96 | $Wait_1 = $Updated_Xaml.FindName("Wait_1")
97 | $Wait_2 = $Updated_Xaml.FindName("Wait_2")
98 | $Wait_3 = $Updated_Xaml.FindName("Wait_3")
99 | $Add_M = $Updated_Xaml.FindName("Add_M")
100 | $Remove_M = $Updated_Xaml.FindName("Remove_M")
101 |
102 | $NameModules =$InstalleOne_Xaml.FindName("Name")
103 | $VersNameModules =$InstalleOne_Xaml.FindName("Version")
104 | $FindMModules =$InstalleOne_Xaml.FindName("FindM")
105 | $InstallMModules =$InstalleOne_Xaml.FindName("InstallM")
106 | $Author =$InstalleOne_Xaml.FindName("Author")
107 | $Description =$InstalleOne_Xaml.FindName("Description")
108 | $AllowClobber =$InstalleOne_Xaml.FindName("Allow")
109 | $AllowPrerelease =$InstalleOne_Xaml.FindName("AllowP")
110 | $Force =$InstalleOne_Xaml.FindName("Force")
111 |
112 | #########################################################################
113 | # Variables #
114 | #########################################################################
115 | $verboseLogFile = "WinUpdModule.log"
116 | $Scopes.IsChecked = $false
117 |
118 | #########################################################################
119 | # Functions #
120 | #########################################################################
121 | Function New-Log {
122 | param(
123 | [Parameter(Mandatory=$true)]
124 | [String]$message
125 | )
126 | $logMessage = [System.Text.Encoding]::UTF8
127 | $timeStamp = Get-Date -Format "MM-dd-yyyy_HH:mm:ss"
128 | $logMessage = "[$timeStamp] $message"
129 | $logMessage | Out-File -Append -LiteralPath $verboseLogFile
130 | }
131 |
132 |
133 | #########################################################################
134 | # Controls #
135 | #########################################################################
136 | $TabMenuHamburger.add_ItemClick({
137 | $TabMenuHamburger.Content = $TabMenuHamburger.SelectedItem
138 | $TabMenuHamburger.IsPaneOpen = $false
139 | })
140 | New-Log "####################################"
141 | New-Log "# Windows Update Module Starting #"
142 | New-Log "####################################"
143 |
144 |
145 | $FindInstallModule.add_Click({
146 | New-Log "####################################"
147 | New-Log "# Find PowerShell Module on $Env:COMPUTERNAME #"
148 | New-Log "####################################"
149 | $InstalledModule = Get-InstalledModule
150 | $NbModInstalled = $InstalledModule.count
151 | New-log "We found $NbModInstalled installed module"
152 | $NBInstallModule.Content = $NbModInstalled
153 | foreach ($Value in $InstalledModule)
154 | {
155 | $ModuleName = $Value.Name
156 | $ModuleVersion = $Value.Version
157 | New-log "We find the $ModuleName with the version $ModuleVersion"
158 | $PowerMod_values = New-Object PSObject
159 | $PowerMod_values = $PowerMod_values | Add-Member NoteProperty Name $Value.Name -passthru
160 | $PowerMod_values = $PowerMod_values | Add-Member NoteProperty Version $Value.Version -passthru
161 | $PowerMod_values = $PowerMod_values | Add-Member NoteProperty Repository $Value.Repository -passthru
162 | $DataGrid_Installed.Items.Add($PowerMod_values) > $null
163 | }
164 |
165 | })
166 | $FindUpdatedMod.add_Click({
167 | [System.Windows.Forms.Application]::DoEvents()
168 |
169 | $DataGrid_Updated.Visibility ="Hidden"
170 | $Add_M.Visibility ="Hidden"
171 | $Remove_M.Visibility ="Hidden"
172 | [System.Windows.Forms.Application]::DoEvents()
173 |
174 | If ($Scopes.IsChecked -eq $false)
175 | {
176 | New-Log "Scope is defined to CurrentUser"
177 |
178 | $PowerShell = [powershell]::Create()
179 | [void]$PowerShell.AddScript({
180 |
181 | function Update-MyModule {
182 | [CmdletBinding()]
183 | Param
184 | (
185 | [switch]$AllUsers
186 | )
187 |
188 |
189 | if ($AllUsers.IsPresent)
190 | {
191 | Get-Module -ListAvailable |
192 | Where-Object ModuleBase -like $env:ProgramFiles\WindowsPowerShell\Modules\* |
193 | Sort-Object -Property Name, Version -Descending |
194 | Get-Unique -PipelineVariable Module |
195 | ForEach-Object {
196 |
197 | Find-Module -Name $_.Name -OutVariable Repo -ErrorAction SilentlyContinue |
198 | Compare-Object -ReferenceObject $_ -Property Name, Version |
199 | Where-Object SideIndicator -eq '=>' |
200 | Select-Object -Property Name,
201 | Version,
202 | @{label='Repository';expression={$Repo.Repository}},
203 | @{label='Installed';expression={$Module.Version}}
204 | }
205 |
206 | }
207 | else{
208 |
209 | Get-Module -ListAvailable |
210 | Where-Object ModuleBase -like $env:USERPROFILE\documents\WindowsPowershell\Modules\* |
211 | Sort-Object -Property Name, Version -Descending |
212 | Get-Unique -PipelineVariable Module |
213 | ForEach-Object {
214 | Find-Module -Name $_.Name -OutVariable Repo -ErrorAction SilentlyContinue |
215 | Compare-Object -ReferenceObject $_ -Property Name, Version |
216 | Where-Object SideIndicator -eq '=>' |
217 | Select-Object -Property Name,
218 | Version,
219 | @{label='Repository';expression={$Repo.Repository}},
220 | @{label='Installed';expression={$Module.Version}}
221 | }
222 |
223 | }
224 |
225 | }
226 |
227 | Update-MyModule
228 |
229 | })
230 | $Global:Object = New-Object 'System.Management.Automation.PSDataCollection[psobject]'
231 | $Handle = $PowerShell.BeginInvoke($Global:Object,$Global:Object)
232 | do
233 | {[System.Windows.Forms.Application]::DoEvents()
234 | $Wait_1.Visibility = "Visible"
235 | $Wait_2.Visibility = "Visible"
236 | $Wait_3.Visibility = "Visible"
237 | [System.Windows.Forms.Application]::DoEvents()
238 | }
239 | until ($Handle.IsCompleted -eq $true)
240 | $Global:ModulestoUpdateU = $Global:Object
241 | $nbMod = $Global:ModulestoUpdateU.count
242 | $NBupdateModule.Content = $nbMod
243 | foreach($Value in $Global:ModulestoUpdateU)
244 | {
245 | $DataGrid_Updated.Items.Add($Value) > $null
246 | New-Log "Module $Value is Add"
247 |
248 | }
249 | [System.Windows.Forms.Application]::DoEvents()
250 | $Wait_1.Visibility="Collapsed"
251 | $Wait_2.Visibility="Collapsed"
252 | $Wait_3.Visibility="Collapsed"
253 | $DataGrid_Updated.Visibility ="Visible"
254 | $Add_M.Visibility ="Visible"
255 | $Remove_M.Visibility ="Visible"
256 | [System.Windows.Forms.Application]::DoEvents()
257 | }
258 | Else
259 | {
260 | $PowerShell2 = [powershell]::Create()
261 | [void]$PowerShell2.AddScript({
262 |
263 | function Update-MyModule {
264 | [CmdletBinding()]
265 | Param
266 | (
267 | [switch]$AllUsers
268 | )
269 |
270 |
271 | if ($AllUsers.IsPresent)
272 | {
273 | Get-Module -ListAvailable |
274 | Where-Object ModuleBase -like $env:ProgramFiles\WindowsPowerShell\Modules\* |
275 | Sort-Object -Property Name, Version -Descending |
276 | Get-Unique -PipelineVariable Module |
277 | ForEach-Object {
278 |
279 | Find-Module -Name $_.Name -OutVariable Repo -ErrorAction SilentlyContinue |
280 | Compare-Object -ReferenceObject $_ -Property Name, Version |
281 | Where-Object SideIndicator -eq '=>' |
282 | Select-Object -Property Name,
283 | Version,
284 | @{label='Repository';expression={$Repo.Repository}},
285 | @{label='Installed';expression={$Module.Version}}
286 | }
287 |
288 | }
289 | else{
290 |
291 | Get-Module -ListAvailable |
292 | Where-Object ModuleBase -like $env:USERPROFILE\documents\WindowsPowershell\Modules\* |
293 | Sort-Object -Property Name, Version -Descending |
294 | Get-Unique -PipelineVariable Module |
295 | ForEach-Object {
296 | Find-Module -Name $_.Name -OutVariable Repo -ErrorAction SilentlyContinue |
297 | Compare-Object -ReferenceObject $_ -Property Name, Version |
298 | Where-Object SideIndicator -eq '=>' |
299 | Select-Object -Property Name,
300 | Version,
301 | @{label='Repository';expression={$Repo.Repository}},
302 | @{label='Installed';expression={$Module.Version}}
303 | }
304 |
305 | }
306 |
307 | }
308 |
309 | Update-MyModule -AllUsers
310 |
311 | })
312 | $Global:Object = New-Object 'System.Management.Automation.PSDataCollection[psobject]'
313 | $Handle2 = $PowerShell2.BeginInvoke($Global:Object,$Global:Object)
314 | do
315 | {[System.Windows.Forms.Application]::DoEvents()
316 | $Wait_1.Visibility = "Visible"
317 | $Wait_2.Visibility = "Visible"
318 | $Wait_3.Visibility = "Visible"
319 | [System.Windows.Forms.Application]::DoEvents()
320 | }
321 | until ($Handle2.IsCompleted -eq $true)
322 | $Global:ModulestoUpdateA = $Global:Object
323 | $nbMod = $Global:ModulestoUpdateA.count
324 | $NBupdateModule.Content = $nbMod
325 | foreach($Value in $Global:ModulestoUpdateA)
326 | {
327 | $DataGrid_Updated.Items.Add($Value) > $null
328 | New-Log "Module $Value is Add"
329 | }
330 | [System.Windows.Forms.Application]::DoEvents()
331 | $Wait_1.Visibility="Collapsed"
332 | $Wait_2.Visibility="Collapsed"
333 | $Wait_3.Visibility="Collapsed"
334 | $DataGrid_Updated.Visibility ="Visible"
335 | $Add_M.Visibility ="Visible"
336 | $Remove_M.Visibility ="Visible"
337 | [System.Windows.Forms.Application]::DoEvents()
338 |
339 | }
340 |
341 | })
342 |
343 | $UpdatedMod.add_Click({
344 |
345 | If ($Scopes.IsChecked -eq $false)
346 | {
347 | $Global:ModulestoUpdateU | ForEach-Object {Install-Module -Name $_.Name -Force}
348 | }
349 | Else
350 | {
351 | $Global:ModulestoUpdateA = Update-MyModule -AllUsers
352 | $nbMod = $Global:ModulestoUpdateA.count
353 | $NBupdateModule.Content = $nbMod
354 | $Global:ModulestoUpdateA | ForEach-Object {Install-Module -Name $_.Name -Force}
355 | }
356 |
357 | })
358 | $Scopes.add_Click({
359 |
360 | $DataGrid_Updated.Items.Clear()
361 | $DataGrid_Updated.Items.Refresh()
362 | $NBupdateModule.Content= ""
363 |
364 | If ($Scopes.IsChecked -eq $false)
365 | {
366 |
367 | [MahApps.Metro.Controls.Dialogs.DialogManager]::ShowMessageAsync($Form, "Change scope", "Path where module will be update $env:USERPROFILE\documents\WindowsPowershell\Modules\ (Recommended)")
368 | }
369 | Else
370 | {
371 |
372 | [MahApps.Metro.Controls.Dialogs.DialogManager]::ShowMessageAsync($Form, "Change scope", "Path where module will be update $env:ProgramFiles\WindowsPowerShell\Modules\. And need ADMINISTRATOR RIGHT!!")
373 | }
374 |
375 | })
376 | $FindMModules.add_Click({
377 |
378 | $M = $NameModules.Text
379 | New-Log "We search the module $M"
380 |
381 | if ($AllowPrerelease.IsChecked -eq $true){
382 |
383 | $Module = Find-Module -Name $NameModules.Text -AllVersions -AllowPrerelease
384 |
385 | foreach ($value in $Module)
386 | {
387 | $PowerMod_values = New-Object PSObject
388 | $PowerMod_values = $PowerMod_values | Add-Member NoteProperty Name $Value.Version -passthru
389 | $VersNameModules.Items.Add($PowerMod_values.Name) > $null
390 | }
391 | $VersNameModules.SelectedIndex = 0
392 | $Author.Content = $Module.Author[0]
393 | $Description.Content =$Module.Description[0]
394 |
395 |
396 | }
397 |
398 |
399 | $Module = Find-Module -Name $NameModules.Text -AllVersions
400 |
401 | foreach ($value in $Module)
402 | {
403 | $PowerMod_values = New-Object PSObject
404 | $PowerMod_values = $PowerMod_values | Add-Member NoteProperty Name $Value.Version -passthru
405 | $VersNameModules.Items.Add($PowerMod_values.Name) > $null
406 | }
407 | $VersNameModules.SelectedIndex = 0
408 | $Author.Content = $Module.Author[0]
409 | $Description.Content =$Module.Description[0]
410 |
411 | })
412 | $InstallMModules.add_Click({
413 |
414 | if ($Force.IsChecked -eq $true){
415 |
416 | Install-module -name $NameModules.Text -MaximumVersion $VersNameModules.SelectionBoxItem -Force
417 | $Module = $NameModules.Text
418 | $Version = $VersNameModules.SelectionBoxItem
419 |
420 | [MahApps.Metro.Controls.Dialogs.DialogManager]::ShowMessageAsync($Form, "Install Module", "The Module $Module is install with the version $Version")
421 |
422 | }
423 |
424 | if ($AllowClobber.IsChecked -eq $true){
425 |
426 | Install-module -name $NameModules.Text -MaximumVersion $VersNameModules.SelectionBoxItem -AllowClobber
427 | $Module = $NameModules.Text
428 | $Version = $VersNameModules.SelectionBoxItem
429 |
430 | [MahApps.Metro.Controls.Dialogs.DialogManager]::ShowMessageAsync($Form, "Install Module", "The Module $Module is install with the version $Version")
431 |
432 | }
433 | if ($AllowPrerelease.IsChecked -eq $true){
434 |
435 | Install-module -name $NameModules.Text -MaximumVersion $VersNameModules.SelectionBoxItem -AllowPrerelease
436 | $Module = $NameModules.Text
437 | $Version = $VersNameModules.SelectionBoxItem
438 |
439 | [MahApps.Metro.Controls.Dialogs.DialogManager]::ShowMessageAsync($Form, "Install Module", "The Module $Module is install with the version $Version")
440 |
441 | }
442 |
443 |
444 | Install-module -name $NameModules.Text -MaximumVersion $VersNameModules.SelectionBoxItem
445 | $Module = $NameModules.Text
446 | $Version = $VersNameModules.SelectionBoxItem
447 |
448 | [MahApps.Metro.Controls.Dialogs.DialogManager]::ShowMessageAsync($Form, "Install Module", "The Module $Module is install with the version $Version")
449 |
450 | })
451 | $Add_M.add_Click({
452 | New-Log "####################################"
453 | New-Log "# Add Specific module to be updated #"
454 | New-Log "####################################"
455 |
456 |
457 | if ($DataGrid_Updated.SelectedItems -ne $null) {
458 |
459 |
460 | if ($DataGrid_Updated.SelectedItems.Count -gt 1)
461 | {
462 | $Global:Value =$Global:Value + $DataGrid_Updated.SelectedItems.Count
463 | $BadgeMod_S.Badge = $Global:Value
464 | foreach ($item in $DataGrid_Updated.SelectedItems.Name)
465 | {
466 | $test = [array]::IndexOf($Global:Cart,"$item")
467 | if ($test -eq "-1")
468 | {
469 | $Global:Cart.add($item)
470 | New-Log "The Module $Value is add to the Cart"
471 | $DataGrid_Updated.UnselectAllCells()
472 | $DataGrid_Updated.Refresh
473 | }else
474 | {
475 | New-Log "The Module $Value is already present"
476 | [MahApps.Metro.Controls.Dialogs.DialogManager]::ShowMessageAsync($Form, "Error", "The Module Is already present.")
477 | }
478 | }
479 | }
480 | else
481 | {
482 | $Global:Value =$Global:Value + 1
483 | $BadgeMod_S.Badge = $Global:Value
484 | foreach ($item in $DataGrid_Updated.SelectedItems.Name)
485 | {
486 | $test = [array]::IndexOf($Global:Cart,"$item")
487 | if ($test -eq "-1")
488 | {
489 | $Global:Cart.add($item)
490 | New-Log "The Module $Value is add to the Cart"
491 | $DataGrid_Updated.UnselectAllCells()
492 | $DataGrid_Updated.Refresh
493 | }
494 | else
495 | {
496 | New-Log "The Module $Value is already present"
497 | [MahApps.Metro.Controls.Dialogs.DialogManager]::ShowMessageAsync($Form, "Error", "The Module Is already present.")
498 | }
499 | }
500 |
501 | }
502 | }
503 | })
504 |
505 | $Remove_M.add_Click({
506 |
507 | New-Log "####################################"
508 | New-Log "# Remove specific module from the cart #"
509 | New-Log "####################################"
510 |
511 | if ($DataGrid_Updated.SelectedItems -ne $null) {
512 |
513 |
514 | if ($Global:Value -eq 0)
515 | {
516 | $Global:Value = 0
517 | $BadgeMod_S.Badge = $Global:Value
518 | }
519 | else
520 | {
521 |
522 | if ($DataGrid_Updated.SelectedItems.Count -gt 1)
523 | {
524 | $Global:Value =$Global:Value - $DataGrid_Updated.SelectedItems.Count
525 | $BadgeMod_S.Badge = $Global:Value
526 | foreach ($item in $DataGrid_Updated.SelectedItems.Name)
527 | {
528 | $test = [array]::IndexOf($Global:Cart,"$item")
529 | if ($test -ne "-1")
530 | {
531 | $Global:Cart.RemoveAt([array]::IndexOf($Global:Cart,"$item"))
532 | $DataGrid_Updated.UnselectAllCells()
533 | $DataGrid_Updated.Refresh
534 |
535 | }
536 | else
537 | {
538 | [MahApps.Metro.Controls.Dialogs.DialogManager]::ShowMessageAsync($Form, "Error", "The Module isn't present.")
539 | }
540 | }
541 | }
542 | else
543 | {
544 | $Global:Value =$Global:Value - 1
545 | $BadgeMod_S.Badge = $Global:Value
546 | foreach ($item in $DataGrid_Updated.SelectedItems.Name)
547 | {
548 | $test = [array]::IndexOf($Global:Cart,"$item")
549 | if ($test -ne "-1")
550 | {
551 | $Global:Cart.RemoveAt([array]::IndexOf($Global:Cart,"$item"))
552 | $DataGrid_Updated.UnselectAllCells()
553 | $DataGrid_Updated.Refresh
554 |
555 | }
556 | else
557 | {
558 | [MahApps.Metro.Controls.Dialogs.DialogManager]::ShowMessageAsync($Form, "Error", "The Module isn't present.")
559 | }
560 | }
561 |
562 | }
563 | }
564 | }
565 | })
566 | $UpdatedMod_S.add_Click({
567 |
568 | $Global:Cart | Install-Module -Name $_ -Force
569 |
570 | })
571 |
572 | $Global:Value = 0
573 |
574 | $Form.ShowDialog() | Out-Null
575 |
--------------------------------------------------------------------------------
/Projects/Module Pwsh Management/assembly/ControlzEx.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Module Pwsh Management/assembly/ControlzEx.dll
--------------------------------------------------------------------------------
/Projects/Module Pwsh Management/assembly/MahApps.Metro.IconPacks.FontAwesome.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Module Pwsh Management/assembly/MahApps.Metro.IconPacks.FontAwesome.dll
--------------------------------------------------------------------------------
/Projects/Module Pwsh Management/assembly/MahApps.Metro.IconPacks.Material.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Module Pwsh Management/assembly/MahApps.Metro.IconPacks.Material.dll
--------------------------------------------------------------------------------
/Projects/Module Pwsh Management/assembly/MahApps.Metro.IconPacks.MaterialLight.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Module Pwsh Management/assembly/MahApps.Metro.IconPacks.MaterialLight.dll
--------------------------------------------------------------------------------
/Projects/Module Pwsh Management/assembly/MahApps.Metro.IconPacks.Modern.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Module Pwsh Management/assembly/MahApps.Metro.IconPacks.Modern.dll
--------------------------------------------------------------------------------
/Projects/Module Pwsh Management/assembly/MahApps.Metro.IconPacks.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Module Pwsh Management/assembly/MahApps.Metro.IconPacks.dll
--------------------------------------------------------------------------------
/Projects/Module Pwsh Management/assembly/MahApps.Metro.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Module Pwsh Management/assembly/MahApps.Metro.dll
--------------------------------------------------------------------------------
/Projects/Module Pwsh Management/assembly/System.Windows.Interactivity.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Module Pwsh Management/assembly/System.Windows.Interactivity.dll
--------------------------------------------------------------------------------
/Projects/Module Pwsh Management/images/PwshG.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Module Pwsh Management/images/PwshG.png
--------------------------------------------------------------------------------
/Projects/Module Pwsh Management/images/PwshG1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Module Pwsh Management/images/PwshG1.png
--------------------------------------------------------------------------------
/Projects/Module Pwsh Management/images/Thumbs.db:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Module Pwsh Management/images/Thumbs.db
--------------------------------------------------------------------------------
/Projects/Module Pwsh Management/resources/custom.xaml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
43 |
44 |
--------------------------------------------------------------------------------
/Projects/Module Pwsh Management/views/InstalleOne.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
51 |
53 |
55 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
--------------------------------------------------------------------------------
/Projects/Module Pwsh Management/views/Installed.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
--------------------------------------------------------------------------------
/Projects/Module Pwsh Management/views/Updated.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
70 |
85 |
86 |
87 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
--------------------------------------------------------------------------------
/Projects/OpenSSH/EXE/OpenSSH.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/OpenSSH/EXE/OpenSSH.exe
--------------------------------------------------------------------------------
/Projects/OpenSSH/Source/Main.xaml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
--------------------------------------------------------------------------------
/Projects/OpenSSH/Source/OpenSSH.ps1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/OpenSSH/Source/OpenSSH.ps1
--------------------------------------------------------------------------------
/Projects/OpenSSH/Source/assembly/MahApps.Metro.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/OpenSSH/Source/assembly/MahApps.Metro.dll
--------------------------------------------------------------------------------
/Projects/OpenSSH/Source/assembly/System.Windows.Interactivity.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/OpenSSH/Source/assembly/System.Windows.Interactivity.dll
--------------------------------------------------------------------------------
/Projects/OpenSSH/Source/images/ssl.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/OpenSSH/Source/images/ssl.png
--------------------------------------------------------------------------------
/Projects/OpenSSH/Source/resources/custom.xaml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
43 |
44 |
--------------------------------------------------------------------------------
/Projects/Pwsh Tweet Apps/Pwsh.ps1:
--------------------------------------------------------------------------------
1 | #========================================================================
2 | #
3 | # Tool Name : Pwsh Tweets Apps
4 | # Author : Jérôme Bezet-Torres
5 | # Date : 29/09/2018
6 | # Website : http://JM2K69.github.io/
7 | # Twitter : https://twitter.com/JM2K69
8 | #
9 | #========================================================================
10 |
11 | ##Initialize######
12 | [System.Reflection.Assembly]::LoadWithPartialName('presentationframework') | out-null
13 | [System.Reflection.Assembly]::LoadFrom('assembly\MahApps.Metro.dll') | out-null
14 | [System.Reflection.Assembly]::LoadFrom('assembly\System.Windows.Interactivity.dll') | out-null
15 | [System.Reflection.Assembly]::LoadFrom('assembly\MaterialDesignThemes.Wpf.dll') | out-null
16 | [System.Reflection.Assembly]::LoadFrom('assembly\MaterialDesignColors.dll') | out-null
17 | [String]$ScriptDirectory = split-path $myinvocation.mycommand.path
18 |
19 | function LoadXml ($global:filename)
20 | {
21 | $XamlLoader=(New-Object System.Xml.XmlDocument)
22 | $XamlLoader.Load($filename)
23 | return $XamlLoader
24 | }
25 |
26 | # Load MainWindow
27 | $XamlMainWindow=LoadXml("$ScriptDirectory\main.xaml")
28 | $Reader=(New-Object System.Xml.XmlNodeReader $XamlMainWindow)
29 | $Form=[Windows.Markup.XamlReader]::Load($Reader)
30 |
31 |
32 | $XamlMainWindow.SelectNodes("//*[@Name]") | %{
33 | try {Set-Variable -Name "$("WPF_"+$_.Name)" -Value $Form.FindName($_.Name) -ErrorAction Stop}
34 | catch{throw}
35 | }
36 |
37 | Function Get-FormVariables{
38 | if ($global:ReadmeDisplay -ne $true){Write-host "If you need to reference this display again, run Get-FormVariables" -ForegroundColor Yellow;$global:ReadmeDisplay=$true}
39 | write-host "Found the following interactable elements from our form" -ForegroundColor Cyan
40 | get-variable *WPF*
41 | }
42 | #Get-FormVariables
43 |
44 | ###################### Twitter Configuration Application #################
45 | $ConsumerKey = 'FakeKey299EBHjrZ3p8';
46 | $ConsumerSecret = 'FakeKeyR0MIX37XEy8EsccpaRdrtS9q7rulK8SBux0y';
47 | $AccessToken = 'FakeKeypWcDm2MWoSHUJdeI3zsp4PyaMS6ypneGemi';
48 | $AccessSecret = 'FakeKey4iA7YSF3eAWk710SkOWNYoiY';
49 | ###################### End Twitter Configuration ########################
50 |
51 |
52 | #########################################################################
53 | # Functions #
54 | #########################################################################
55 |
56 | $WPF_TweetB.add_Click({
57 |
58 | if (Get-Module -ListAvailable -Name PoshTwit)
59 | {
60 | $TT = $WPF_Tweet_txt.Text
61 |
62 | Publish-Tweet -Tweet $TT -ConsumerKey $ConsumerKey -ConsumerSecret $ConsumerSecret -AccessToken $AccessToken -AccessSecret $AccessSecret
63 |
64 | }
65 | else
66 | {
67 | [MahApps.Metro.Controls.Dialogs.DialogManager]::ShowModalMessageExternal($Form,"Oups ;-(", "The Powershell Module PoshTwit isn't present.Please Install it ( Install-module -name PoshTwit -scope CurrentUser ).")
68 | Exit
69 | }
70 |
71 | })
72 | $WPF_Facebook_G.add_Click({
73 |
74 | Start-Process https://www.facebook.com/groups/PowershellGUI/
75 |
76 | })
77 |
78 | $WPF_Twitter_P.add_Click({
79 |
80 | start-process https://twitter.com/JM2K69
81 |
82 | })
83 | $WPF_Youtube_P.add_Click({
84 |
85 | Start-Process https://www.youtube.com/channel/UCw0FgKxddLugh9EpxccqZ4Q
86 | })
87 | $WPF_Youtube_Chaine.add_Click({
88 |
89 | Start-Process https://www.youtube.com/channel/UCw0FgKxddLugh9EpxccqZ4Q
90 |
91 | })
92 | $WPF_Github_P.add_Click({
93 |
94 | Start-Process https://github.com/JM2K69
95 | })
96 | $WPF_Github_P2.add_Click({
97 |
98 | Start-Process https://github.com/JM2K69
99 |
100 | })
101 | $WPF_Website.add_Click({
102 |
103 | if ($WPF_Website.IsChecked -eq $true)
104 | {
105 | Start-Process https://JM2K69.github.io
106 |
107 | }
108 | })
109 | $Form.ShowDialog() | Out-Null
110 |
111 |
--------------------------------------------------------------------------------
/Projects/Pwsh Tweet Apps/assembly/ControlzEx.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Pwsh Tweet Apps/assembly/ControlzEx.dll
--------------------------------------------------------------------------------
/Projects/Pwsh Tweet Apps/assembly/MahApps.Metro.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Pwsh Tweet Apps/assembly/MahApps.Metro.dll
--------------------------------------------------------------------------------
/Projects/Pwsh Tweet Apps/assembly/MaterialDesignColors.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Pwsh Tweet Apps/assembly/MaterialDesignColors.dll
--------------------------------------------------------------------------------
/Projects/Pwsh Tweet Apps/assembly/MaterialDesignThemes.Wpf.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Pwsh Tweet Apps/assembly/MaterialDesignThemes.Wpf.dll
--------------------------------------------------------------------------------
/Projects/Pwsh Tweet Apps/assembly/System.Windows.Interactivity.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Pwsh Tweet Apps/assembly/System.Windows.Interactivity.dll
--------------------------------------------------------------------------------
/Projects/Pwsh Tweet Apps/images/wpf.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Pwsh Tweet Apps/images/wpf.jpg
--------------------------------------------------------------------------------
/Projects/Pwsh Tweet Apps/main.xaml:
--------------------------------------------------------------------------------
1 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 | Pwsh Tweet Apps
57 |
58 |
59 |
60 |
72 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
92 |
96 |
97 | @JM2K69
98 |
99 | Microsoft Certified Trainer 6 Year / PowerShell / PowerCli / Deployment / MDT / XAML / Automation
100 |
101 |
102 |
103 |
104 |
105 |
107 |
108 |
109 |
110 |
111 |
113 |
114 |
115 |
117 |
118 |
119 |
120 |
121 |
124 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 | Follow Me on different social networks
136 |
137 |
141 |
145 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
--------------------------------------------------------------------------------
/Projects/Pwsh Tweet Apps/resources/custom.xaml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
43 |
44 |
--------------------------------------------------------------------------------
/Projects/Size/Size.ps1:
--------------------------------------------------------------------------------
1 | #########################################################################
2 | # Add shared_assemblies #
3 | #########################################################################
4 |
5 | [System.Reflection.Assembly]::LoadWithPartialName('presentationframework') | out-null
6 | [System.Reflection.Assembly]::LoadFrom('assembly\System.Windows.Interactivity.dll') | out-null
7 | [System.Reflection.Assembly]::LoadFrom('assembly\MahApps.Metro.dll') | out-null
8 | [System.Reflection.Assembly]::LoadFrom('assembly\dev4sys.Tree.dll') | out-null
9 | [System.Reflection.Assembly]::LoadFrom('assembly\LiveCharts.dll') | out-null
10 | [System.Reflection.Assembly]::LoadFrom('assembly\LiveCharts.Wpf.dll') | out-null
11 | [System.Reflection.Assembly]::LoadFrom('assembly\ControlzEx.dll') | out-null
12 | [System.Reflection.Assembly]::LoadFrom('assembly\MahApps.Metro.IconPacks.dll') | out-null
13 | [System.Reflection.Assembly]::LoadFrom('assembly\MahApps.Metro.IconPacks.FontAwesome.dll') | out-null
14 |
15 |
16 |
17 | #########################################################################
18 | # Load Main Panel #
19 | #########################################################################
20 |
21 | $Global:pathPanel= split-path -parent $MyInvocation.MyCommand.Definition
22 | function LoadXaml ($filename){
23 | $XamlLoader=(New-Object System.Xml.XmlDocument)
24 | $XamlLoader.Load($filename)
25 | return $XamlLoader
26 | }
27 | $XamlMainWindow=LoadXaml($pathPanel+"\main.xaml")
28 | $reader = (New-Object System.Xml.XmlNodeReader $XamlMainWindow)
29 | $Form = [Windows.Markup.XamlReader]::Load($reader)
30 |
31 | $okAndCancel = [MahApps.Metro.Controls.Dialogs.MessageDialogStyle]::AffirmativeAndNegative
32 | $FolderTree = $Form.FindName("TreeView")
33 | $Size = $Form.FindName("Size")
34 | $Clear = $form.FindName("Clear")
35 | $LetterDisk = $form.FindName("LetterDisk")
36 | $BadgeMod_S = $Form.FindName("B_Add")
37 | $Github = $Form.FindName("Github")
38 |
39 | function Get-diskletter {
40 | $Global:Letter = get-volume | Where-Object {$_.DriveType -eq 'Fixed'} | Sort-Object -Property DriveLetter
41 | }
42 | function Start-Scan {
43 | [CmdletBinding()]
44 | [Alias()]
45 | Param
46 | (
47 | # Description d’aide param1
48 | [Parameter(Mandatory=$true,
49 | ValueFromPipelineByPropertyName=$true)]
50 | $DriveLetter
51 | )
52 | begin
53 | {
54 | $DriveLetterf = $DriveLetter +":\"
55 |
56 | }
57 | process
58 | {
59 | $dummyNode = $null
60 | $AllDirectory = [IO.Directory]::GetDirectories($DriveLetterf)
61 |
62 | # ================== Handle Folders ===========================
63 | $Global:TabHashTable = New-Object System.Collections.ArrayList
64 | $Global:TabHashTable2 = New-Object System.Collections.ArrayList
65 | foreach ($folder in $AllDirectory)
66 | {
67 |
68 | $treeViewItem = [Windows.Controls.TreeViewItem]::new()
69 | $treeViewItem.Header = $folder.Substring($folder.LastIndexOf("\") + 1)
70 | $treeViewItem.Tag = @("folder",$folder)
71 | $treeViewItem.Items.Add($dummyNode) | Out-Null
72 | $treeViewItem.Add_Expanded({
73 | $Global:TabHashTable.Add($_.OriginalSource.Header)
74 | TreeExpanded($_.OriginalSource)
75 | $BadgeMod_S.Badge = $BadgeMod_S.Badge + 1
76 |
77 | })
78 | $FolderTree.Items.Add($treeViewItem)| Out-Null
79 | }
80 | }
81 | end
82 | {
83 |
84 | }
85 | }
86 |
87 | #########################################################################
88 | # Stuff #
89 | #########################################################################
90 | Get-diskletter
91 |
92 | foreach ($item in $Global:Letter) {
93 | if ($item.DriveLetter -ne $null){
94 | $LetterDisk.Items.Add($item.DriveLetter) |out-null
95 | }
96 | }
97 | $LetterDisk.SelectedIndex = 0
98 | $Global:DiskLetter = "C"
99 | Start-Scan -DriveLetter C
100 | Function TreeExpanded($sender){
101 |
102 | $item = [Windows.Controls.TreeViewItem]$sender
103 |
104 | If ($item.Items.Count -eq 1 -and $item.Items[0] -eq $dummyNode)
105 | {
106 | $item.Items.Clear();
107 | Try
108 | {
109 |
110 | foreach ($string in [IO.Directory]::GetDirectories($item.Tag[1].ToString()))
111 | {
112 | $subitem = [Windows.Controls.TreeViewItem]::new();
113 | $subitem.Header = $string.Substring($string.LastIndexOf("\") + 1)
114 | $subitem.Tag = @("folder",$string)
115 | $subitem.Items.Add($dummyNode)
116 | $subitem.Add_Expanded({
117 | TreeExpanded($_.OriginalSource)
118 |
119 | })
120 | $item.Items.Add($subitem) | Out-Null
121 | }
122 | }
123 | Catch [Exception] { }
124 | }
125 |
126 | }
127 | $Github.Add_Click({
128 |
129 | Start-Process https://github.com/JM2K69
130 |
131 | })
132 |
133 | $Size.add_Click({
134 |
135 |
136 | [xml]$xaml = @"
137 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 | "@
177 |
178 |
179 | $reader = New-Object System.Xml.XmlNodeReader $xaml
180 | $Window = [Windows.Markup.XamlReader]::Load( $reader )
181 |
182 | $Global:TabHashTable2 = $Global:TabHashTable | Foreach-Object {
183 | $name = "$Global:DiskLetter"+":\" + "$_"
184 | [PscustomObject]@{
185 | Path = [string]$(Split-Path -Path $name -Leaf)
186 | Size = (Get-ChildItem -Path $name -File -Recurse | Measure-Object -Property Length -Sum).Sum / 1GB
187 | }
188 | } | Sort-Object -Property Size -Descending
189 |
190 | $chart = $Window.FindName('CartesianChart')
191 | $Save = $Window.FindName('Save')
192 | $Excel = $Window.FindName('Excel')
193 |
194 | $Column = [LiveCharts.Wpf.ColumnSeries]::new()
195 | $CHartValues = [LiveCharts.ChartValues[int]]$Global:TabHashTable2.Size
196 | $Column.Title = 'Size'
197 | $Column.Values = $CHartValues
198 | $Column.MaxColumnWidth = 20
199 |
200 | $SeriesCollection = [LiveCharts.SeriesCollection]::new()
201 | $SeriesCollection.Add($Column)
202 |
203 | $chart.Series = $SeriesCollection
204 |
205 | $Chart.AxisX[0].Labels = [String[]]$Global:TabHashTable2.Path
206 | #########################
207 | Function New-ScreenShot {
208 | <#
209 | .SYNOPSIS
210 | Used to take a screenshot of the desktop or the active window.
211 | .DESCRIPTION
212 | Used to take a screenshot of the desktop or the active window and save to an image file if needed.
213 | .PARAMETER screen
214 | Screenshot of the entire screen
215 | .PARAMETER activewindow
216 | Screenshot of the active window
217 | .PARAMETER file
218 | Name of the file to save as. Default is image.bmp
219 | .PARAMETER imagetype
220 | Type of image being saved. Can use JPEG,BMP,PNG. Default is bitmap(bmp)
221 | .PARAMETER print
222 | Sends the screenshot directly to your default printer
223 | .INPUTS
224 | .OUTPUTS
225 | .NOTES
226 | Name: Take-ScreenShot
227 | Author: Boe Prox
228 | DateCreated: 07/25/2010
229 | .EXAMPLE
230 | Take-ScreenShot -activewindow
231 | Takes a screen shot of the active window
232 | .EXAMPLE
233 | Take-ScreenShot -Screen
234 | Takes a screenshot of the entire desktop
235 | .EXAMPLE
236 | Take-ScreenShot -activewindow -file "C:\image.bmp" -imagetype bmp
237 | Takes a screenshot of the active window and saves the file named image.bmp with the image being bitmap
238 | .EXAMPLE
239 | Take-ScreenShot -screen -file "C:\image.png" -imagetype png
240 | Takes a screenshot of the entire desktop and saves the file named image.png with the image being png
241 | .EXAMPLE
242 | Take-ScreenShot -Screen -print
243 | Takes a screenshot of the entire desktop and sends to a printer
244 | .EXAMPLE
245 | Take-ScreenShot -ActiveWindow -print
246 | Takes a screenshot of the active window and sends to a printer
247 | #>
248 | #Requires -Version 2
249 | [cmdletbinding(
250 | SupportsShouldProcess = $True,
251 | DefaultParameterSetName = "screen",
252 | ConfirmImpact = "low"
253 | )]
254 | Param (
255 | [Parameter(
256 | Mandatory = $False,
257 | ParameterSetName = "screen",
258 | ValueFromPipeline = $True)]
259 | [switch]$screen,
260 | [Parameter(
261 | Mandatory = $False,
262 | ParameterSetName = "window",
263 | ValueFromPipeline = $False)]
264 | [switch]$activewindow,
265 | [Parameter(
266 | Mandatory = $False,
267 | ParameterSetName = "",
268 | ValueFromPipeline = $False)]
269 | [string]$file,
270 | [Parameter(
271 | Mandatory = $False,
272 | ParameterSetName = "",
273 | ValueFromPipeline = $False)]
274 | [string]
275 | [ValidateSet("bmp","jpeg","png")]
276 | $imagetype = "bmp",
277 | [Parameter(
278 | Mandatory = $False,
279 | ParameterSetName = "",
280 | ValueFromPipeline = $False)]
281 | [switch]$print
282 |
283 | )
284 | # C# code
285 | $code = @'
286 | using System;
287 | using System.Runtime.InteropServices;
288 | using System.Drawing;
289 | using System.Drawing.Imaging;
290 | namespace ScreenShotDemo
291 | {
292 | ///
293 | /// Provides functions to capture the entire screen, or a particular window, and save it to a file.
294 | ///
295 | public class ScreenCapture
296 | {
297 | ///
298 | /// Creates an Image object containing a screen shot the active window
299 | ///
300 | ///
301 | public Image CaptureActiveWindow()
302 | {
303 | return CaptureWindow( User32.GetForegroundWindow() );
304 | }
305 | ///
306 | /// Creates an Image object containing a screen shot of the entire desktop
307 | ///
308 | ///
309 | public Image CaptureScreen()
310 | {
311 | return CaptureWindow( User32.GetDesktopWindow() );
312 | }
313 | ///
314 | /// Creates an Image object containing a screen shot of a specific window
315 | ///
316 | /// The handle to the window. (In windows forms, this is obtained by the Handle property)
317 | ///
318 | private Image CaptureWindow(IntPtr handle)
319 | {
320 | // get te hDC of the target window
321 | IntPtr hdcSrc = User32.GetWindowDC(handle);
322 | // get the size
323 | User32.RECT windowRect = new User32.RECT();
324 | User32.GetWindowRect(handle,ref windowRect);
325 | int width = windowRect.right - windowRect.left;
326 | int height = windowRect.bottom - windowRect.top;
327 | // create a device context we can copy to
328 | IntPtr hdcDest = GDI32.CreateCompatibleDC(hdcSrc);
329 | // create a bitmap we can copy it to,
330 | // using GetDeviceCaps to get the width/height
331 | IntPtr hBitmap = GDI32.CreateCompatibleBitmap(hdcSrc,width,height);
332 | // select the bitmap object
333 | IntPtr hOld = GDI32.SelectObject(hdcDest,hBitmap);
334 | // bitblt over
335 | GDI32.BitBlt(hdcDest,0,0,width,height,hdcSrc,0,0,GDI32.SRCCOPY);
336 | // restore selection
337 | GDI32.SelectObject(hdcDest,hOld);
338 | // clean up
339 | GDI32.DeleteDC(hdcDest);
340 | User32.ReleaseDC(handle,hdcSrc);
341 | // get a .NET image object for it
342 | Image img = Image.FromHbitmap(hBitmap);
343 | // free up the Bitmap object
344 | GDI32.DeleteObject(hBitmap);
345 | return img;
346 | }
347 | ///
348 | /// Captures a screen shot of the active window, and saves it to a file
349 | ///
350 | ///
351 | ///
352 | public void CaptureActiveWindowToFile(string filename, ImageFormat format)
353 | {
354 | Image img = CaptureActiveWindow();
355 | img.Save(filename,format);
356 | }
357 | ///
358 | /// Captures a screen shot of the entire desktop, and saves it to a file
359 | ///
360 | ///
361 | ///
362 | public void CaptureScreenToFile(string filename, ImageFormat format)
363 | {
364 | Image img = CaptureScreen();
365 | img.Save(filename,format);
366 | }
367 |
368 | ///
369 | /// Helper class containing Gdi32 API functions
370 | ///
371 | private class GDI32
372 | {
373 |
374 | public const int SRCCOPY = 0x00CC0020; // BitBlt dwRop parameter
375 | [DllImport("gdi32.dll")]
376 | public static extern bool BitBlt(IntPtr hObject,int nXDest,int nYDest,
377 | int nWidth,int nHeight,IntPtr hObjectSource,
378 | int nXSrc,int nYSrc,int dwRop);
379 | [DllImport("gdi32.dll")]
380 | public static extern IntPtr CreateCompatibleBitmap(IntPtr hDC,int nWidth,
381 | int nHeight);
382 | [DllImport("gdi32.dll")]
383 | public static extern IntPtr CreateCompatibleDC(IntPtr hDC);
384 | [DllImport("gdi32.dll")]
385 | public static extern bool DeleteDC(IntPtr hDC);
386 | [DllImport("gdi32.dll")]
387 | public static extern bool DeleteObject(IntPtr hObject);
388 | [DllImport("gdi32.dll")]
389 | public static extern IntPtr SelectObject(IntPtr hDC,IntPtr hObject);
390 | }
391 |
392 | ///
393 | /// Helper class containing User32 API functions
394 | ///
395 | private class User32
396 | {
397 | [StructLayout(LayoutKind.Sequential)]
398 | public struct RECT
399 | {
400 | public int left;
401 | public int top;
402 | public int right;
403 | public int bottom;
404 | }
405 | [DllImport("user32.dll")]
406 | public static extern IntPtr GetDesktopWindow();
407 | [DllImport("user32.dll")]
408 | public static extern IntPtr GetWindowDC(IntPtr hWnd);
409 | [DllImport("user32.dll")]
410 | public static extern IntPtr ReleaseDC(IntPtr hWnd,IntPtr hDC);
411 | [DllImport("user32.dll")]
412 | public static extern IntPtr GetWindowRect(IntPtr hWnd,ref RECT rect);
413 | [DllImport("user32.dll")]
414 | public static extern IntPtr GetForegroundWindow();
415 | }
416 | }
417 | }
418 | '@
419 | #User Add-Type to import the code
420 | add-type $code -ReferencedAssemblies 'System.Windows.Forms','System.Drawing'
421 | #Create the object for the Function
422 | $capture = New-Object ScreenShotDemo.ScreenCapture
423 |
424 | #Take screenshot of the entire screen
425 | If ($Screen) {
426 | Write-Verbose "Taking screenshot of entire desktop"
427 | #Save to a file
428 | If ($file) {
429 | If ($file -eq "") {
430 | $file = "$pwd\image.bmp"
431 | }
432 | Write-Verbose "Creating screen file: $file with imagetype of $imagetype"
433 | $capture.CaptureScreenToFile($file,$imagetype)
434 | }
435 | ElseIf ($print) {
436 | $img = $Capture.CaptureScreen()
437 | $pd = New-Object System.Drawing.Printing.PrintDocument
438 | $pd.Add_PrintPage({$_.Graphics.DrawImage(([System.Drawing.Image]$img), 0, 0)})
439 | $pd.Print()
440 | }
441 | Else {
442 | $capture.CaptureScreen()
443 | }
444 | }
445 | #Take screenshot of the active window
446 | If ($ActiveWindow) {
447 | Write-Verbose "Taking screenshot of the active window"
448 | #Save to a file
449 | If ($file) {
450 | If ($file -eq "") {
451 | $file = "$pwd\image.bmp"
452 | }
453 | Write-Verbose "Creating activewindow file: $file with imagetype of $imagetype"
454 | $capture.CaptureActiveWindowToFile($file,$imagetype)
455 | }
456 | ElseIf ($print) {
457 | $img = $Capture.CaptureActiveWindow()
458 | $pd = New-Object System.Drawing.Printing.PrintDocument
459 | $pd.Add_PrintPage({$_.Graphics.DrawImage(([System.Drawing.Image]$img), 0, 0)})
460 | $pd.Print()
461 | }
462 | Else {
463 | $capture.CaptureActiveWindow()
464 | }
465 | }
466 | }
467 |
468 | $Save.add_Click({
469 | $TimeStamp = get-date -f MM-dd-yyyy_HH_mm_ss
470 | $File = "Size_" + $TimeStamp +".png"
471 |
472 | New-ScreenShot -activewindow -imagetype png -file .\$File
473 |
474 | [MahApps.Metro.Controls.Dialogs.DialogManager]::ShowMessageAsync($Window, "Information", "The Chart is saved to $File.")
475 |
476 | })
477 | $Excel.add_Click({
478 | $erroractionpreference = "SilentlyContinue"
479 | $TimeStamp = get-date -f MM-dd-yyyy_HH_mm_ss
480 | $FileExp = $Global:pathPanel +"\Size_" + $TimeStamp +".xlsx"
481 | $excel = New-Object -ComObject Excel.Application
482 | Add-Type -AssemblyName Microsoft.Office.Interop.Excel
483 | $xlFixedFormat = [Microsoft.Office.Interop.Excel.XlFileFormat]::xlWorkbookDefault
484 | $excel.Visible = $false
485 | $workbook = $excel.Workbooks.Add()
486 | $sheet = $workbook.ActiveSheet
487 | $sheet.cells.item(1,1)= "Directory"
488 | $sheet.cells.item(1,2)= "Size (Go)"
489 | $Range = $sheet.UsedRange
490 | $Range.Interior.ColorIndex = 16
491 | $Range.Font.ColorIndex = 11
492 | $Range.Font.Bold= $true
493 | $intRow = 2
494 |
495 | $Global:TabHashTable2 = $Global:TabHashTable | Foreach-Object {
496 | $name = "$Global:DiskLetter"+":\" + "$_"
497 | [PscustomObject]@{
498 | Path = [string]$(Split-Path -Path $name -Leaf)
499 | Size = (Get-ChildItem -Path $name -File -Recurse | Measure-Object -Property Length -Sum).Sum / 1GB
500 | }
501 | } | Foreach-Object {
502 |
503 | $sheet.cells.Item($intRow,1)= $_.Path
504 | $sheet.cells.Item($intRow,2)= $_.Size
505 | $intRow++
506 |
507 | }
508 | $excel.ActiveWorkbook.SaveAs("$FileExp" , $xlFixedFormat)
509 | $excel.Workbooks.Close()
510 | $excel.Quit()
511 | })
512 | [void]$Window.ShowDialog()
513 |
514 |
515 |
516 | })
517 |
518 |
519 | $LetterDisk.add_SelectionChanged({
520 | $BadgeMod_S.Badge = 0
521 | $Global:DiskLetter = $LetterDisk.SelectedItem
522 | $FolderTree.Items.Clear()
523 | $FolderTree.Refresh
524 | Start-Scan -DriveLetter $Global:DiskLetter
525 |
526 | })
527 |
528 | $Clear.add_Click({
529 | $BadgeMod_S.Badge = 0
530 | $Global:DiskLetter = "C"
531 | $FolderTree.Items.Clear()
532 | $FolderTree.Refresh
533 | try {
534 | $Global:TabHashTable2 = @()
535 | $Global:TabHashTable = @()
536 | }
537 | catch {}
538 | Start-Scan -DriveLetter $Global:DiskLetter
539 |
540 | })
541 | #########################################################################
542 | # Show window #
543 | #########################################################################
544 |
545 | $Form.ShowDialog() | Out-Null
546 |
--------------------------------------------------------------------------------
/Projects/Size/assembly/ControlzEx.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Size/assembly/ControlzEx.dll
--------------------------------------------------------------------------------
/Projects/Size/assembly/ControlzEx.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Size/assembly/ControlzEx.pdb
--------------------------------------------------------------------------------
/Projects/Size/assembly/LiveCharts.Wpf.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Size/assembly/LiveCharts.Wpf.dll
--------------------------------------------------------------------------------
/Projects/Size/assembly/LiveCharts.Wpf.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Size/assembly/LiveCharts.Wpf.pdb
--------------------------------------------------------------------------------
/Projects/Size/assembly/LiveCharts.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Size/assembly/LiveCharts.dll
--------------------------------------------------------------------------------
/Projects/Size/assembly/LiveCharts.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Size/assembly/LiveCharts.pdb
--------------------------------------------------------------------------------
/Projects/Size/assembly/MahApps.Metro.IconPacks.FontAwesome.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Size/assembly/MahApps.Metro.IconPacks.FontAwesome.dll
--------------------------------------------------------------------------------
/Projects/Size/assembly/MahApps.Metro.IconPacks.Material.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Size/assembly/MahApps.Metro.IconPacks.Material.dll
--------------------------------------------------------------------------------
/Projects/Size/assembly/MahApps.Metro.IconPacks.MaterialLight.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Size/assembly/MahApps.Metro.IconPacks.MaterialLight.dll
--------------------------------------------------------------------------------
/Projects/Size/assembly/MahApps.Metro.IconPacks.Modern.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Size/assembly/MahApps.Metro.IconPacks.Modern.dll
--------------------------------------------------------------------------------
/Projects/Size/assembly/MahApps.Metro.IconPacks.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Size/assembly/MahApps.Metro.IconPacks.dll
--------------------------------------------------------------------------------
/Projects/Size/assembly/MahApps.Metro.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Size/assembly/MahApps.Metro.dll
--------------------------------------------------------------------------------
/Projects/Size/assembly/MahApps.Metro.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Size/assembly/MahApps.Metro.pdb
--------------------------------------------------------------------------------
/Projects/Size/assembly/System.Windows.Interactivity.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Size/assembly/System.Windows.Interactivity.dll
--------------------------------------------------------------------------------
/Projects/Size/assembly/dev4sys.Tree.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Size/assembly/dev4sys.Tree.dll
--------------------------------------------------------------------------------
/Projects/Size/images/folder.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Size/images/folder.png
--------------------------------------------------------------------------------
/Projects/Size/images/views.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Size/images/views.png
--------------------------------------------------------------------------------
/Projects/Size/main.xaml:
--------------------------------------------------------------------------------
1 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/README.md:
--------------------------------------------------------------------------------
1 | # Windows 10 Design WPF
2 | This WPF GUI shows the Metro Design power of the MahApps Toolkit.
3 |
4 | Update by JM2K69
5 |
6 | 
7 |
8 |
9 | Last Update ==> 05/01/2018
10 | - Add Boot screen
11 | - Add windows update screen
12 |
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/W10_WPF_GUI.ps1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/W10_WPF_GUI.ps1
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/W10_WPF_GUI.xaml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
49 |
50 |
57 |
58 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
79 |
80 |
81 |
82 |
83 |
86 |
87 |
88 |
89 |
90 |
93 |
94 |
95 |
96 |
97 |
100 |
101 |
102 |
103 |
104 |
107 |
108 |
109 |
110 |
111 |
114 |
115 |
116 |
117 |
118 |
121 |
122 |
123 |
124 |
125 |
128 |
129 |
130 |
131 |
132 |
135 |
136 |
137 |
138 |
139 |
142 |
143 |
144 |
145 |
146 |
149 |
150 |
151 |
152 |
153 |
156 |
157 |
158 |
159 |
160 |
163 |
164 |
165 |
166 |
167 |
170 |
171 |
172 |
173 |
174 |
177 |
178 |
179 |
180 |
181 |
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
194 |
195 |
196 |
197 |
198 |
199 |
200 |
201 |
202 |
203 |
204 |
205 |
206 |
207 |
208 |
209 |
210 |
211 |
212 |
213 |
214 |
215 |
216 |
217 |
218 |
219 |
220 |
221 |
222 |
223 |
224 |
225 |
226 |
227 |
228 |
229 |
230 |
231 |
232 |
233 |
234 |
235 |
236 |
237 |
238 |
239 |
240 |
241 |
242 |
243 |
244 |
245 |
246 |
247 |
248 |
249 |
250 |
251 |
252 |
253 |
254 |
255 |
256 |
257 |
258 |
259 |
260 |
261 |
262 |
263 |
264 |
265 |
266 |
267 |
268 |
269 |
270 |
271 |
272 |
273 |
274 |
275 |
276 |
277 |
278 |
279 |
280 |
281 |
282 |
283 |
284 |
285 |
286 |
287 |
288 |
289 |
290 |
291 |
292 |
293 |
294 |
295 |
296 |
297 |
298 |
299 |
300 |
301 |
302 |
303 |
304 |
305 |
306 |
307 |
308 |
309 |
310 |
311 |
312 |
313 |
314 |
315 |
316 |
317 |
318 |
319 |
320 |
321 |
322 |
323 |
324 |
325 | Program and features
326 | Mobility Center
327 | Power options
328 | Event viewer
329 | System
330 | Device Manager
331 | Disk Management
332 | Computer Management
333 | Command Prompt
334 | Command Prompt (Admin)
335 |
336 |
337 |
338 | Task Manager
339 | Control Panel
340 | File Explorer
341 | Search
342 | Run
343 |
344 |
345 |
346 |
347 | Shut down or Sign out
348 |
349 |
356 |
357 |
358 | Desktop
359 |
360 |
361 |
362 |
363 |
364 |
365 |
366 |
367 |
368 |
369 |
370 |
371 | Sign out
372 | Sleep
373 | Shutw down
374 | Restart
375 |
376 |
377 |
378 |
379 |
380 |
381 |
382 |
383 |
384 |
385 |
386 |
387 |
388 |
389 |
390 |
393 |
394 |
397 |
398 |
401 |
402 |
405 |
406 |
407 |
408 |
411 |
412 |
415 |
416 |
419 |
420 |
423 |
424 |
425 |
426 |
427 |
428 |
429 |
430 |
431 |
432 |
433 |
434 |
435 |
436 |
443 |
444 |
445 |
446 |
447 |
448 |
449 | Power and sleep settings
450 |
451 |
452 |
453 |
454 |
455 |
456 |
457 |
458 |
459 |
460 |
461 |
462 |
463 |
464 |
465 |
466 |
467 |
468 |
469 |
470 |
471 |
472 |
473 |
474 |
475 |
476 |
477 |
478 |
479 |
480 |
481 |
482 |
483 |
484 |
485 |
486 |
487 |
488 |
495 |
496 |
497 |
498 |
505 |
506 |
507 |
508 |
509 |
510 |
511 |
512 |
513 |
514 |
515 |
516 |
523 |
524 |
525 |
526 |
527 |
528 |
529 |
530 |
531 |
538 |
539 |
540 |
541 |
542 |
543 |
544 |
545 |
546 |
553 |
554 |
555 |
556 |
557 |
558 |
559 |
560 |
561 |
568 |
569 |
570 |
571 |
572 |
573 |
574 |
575 |
576 |
583 |
584 |
585 |
586 |
587 |
588 |
589 |
590 |
591 |
598 |
599 |
600 |
601 |
602 |
603 |
604 |
605 |
606 |
613 |
614 |
615 |
616 |
617 |
618 |
619 |
620 |
621 |
622 |
623 |
624 | Network settings
625 |
626 |
627 |
628 |
629 |
630 |
631 |
632 |
633 |
634 |
635 |
636 |
637 |
638 |
639 |
640 |
641 |
642 |
643 |
644 |
645 |
646 |
647 |
648 |
649 |
650 |
651 |
652 |
653 |
654 |
655 |
662 |
663 |
664 |
665 |
666 |
667 |
668 |
669 |
670 |
671 |
672 |
673 |
674 |
675 |
676 |
677 |
678 |
679 |
680 |
681 |
682 |
683 |
684 |
685 |
686 |
687 |
688 |
689 |
690 |
691 |
692 |
693 |
694 |
695 |
696 |
697 |
698 |
699 |
700 |
701 |
702 |
703 |
704 |
705 |
706 |
707 |
708 |
709 |
710 |
711 |
712 |
713 |
714 |
715 |
716 |
717 |
718 |
719 |
720 |
721 |
722 |
723 |
724 |
725 |
726 |
735 |
736 |
737 |
738 |
739 |
742 |
743 |
746 |
747 |
750 |
751 |
754 |
755 |
758 |
759 |
760 |
761 |
770 |
771 |
780 |
781 |
790 |
791 |
800 |
801 |
802 |
803 |
804 |
805 |
806 |
807 |
808 |
817 |
818 |
819 |
820 |
821 |
822 |
823 |
824 |
825 |
826 |
827 |
828 |
829 |
830 |
831 |
832 |
833 |
834 |
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/W10_WPF_GUI_F.ps1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/W10_WPF_GUI_F.ps1
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/assembly/MahApps.Metro.IconPacks.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/assembly/MahApps.Metro.IconPacks.dll
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/assembly/MahApps.Metro.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/assembly/MahApps.Metro.dll
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/assembly/System.Windows.Interactivity.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/assembly/System.Windows.Interactivity.dll
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/Winlogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/Winlogo.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/background.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/background.jpg
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/beyond.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/beyond.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/bluetooth.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/bluetooth.ico
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/chrome.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/excel.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/excel.ico
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/folder.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/folder.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/google.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/google.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/mcafee.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/mcafee.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/notepad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/notepad.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/powerpoint.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/powerpoint.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/powershell.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/powershell.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/snipping.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/snipping.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/1E.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/1E.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/7z.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/7z.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/Autodesk.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/Autodesk.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/adobe.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/adobe.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/avg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/avg.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/cisco.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/cisco.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/citrix.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/citrix.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/dell.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/dell.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/dropbox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/dropbox.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/filezilla.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/filezilla.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/firefox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/firefox.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/google.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/google.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/hp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/hp.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/intel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/intel.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/intel2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/intel2.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/itunes.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/itunes.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/lenovo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/lenovo.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/mcafee.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/mcafee.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/mcafee2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/mcafee2.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/microsoft.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/microsoft.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/norton.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/norton.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/office.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/office.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/onedrive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/onedrive.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/onedrive2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/onedrive2.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/oracle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/oracle.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/oracle2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/oracle2.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/outlook.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/outlook.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/photoshop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/photoshop.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/project.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/project.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/publisher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/publisher.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/sccm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/sccm.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/skype.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/skype.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/symantec.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/symantec.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/visual studio.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/visual studio.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/vlc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/vlc.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/vmware.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/vmware.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/winrar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/winrar.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/winzip.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/winzip.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/images/vendor/word.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/images/vendor/word.png
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/img/Windows 10 Update.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JM2K69/Powershell_WPF_GUI/250e0278c95c51c483a7f8833176c5fea510b3c8/Projects/Windows10_Design_WPF/img/Windows 10 Update.gif
--------------------------------------------------------------------------------
/Projects/Windows10_Design_WPF/resources/custom.xaml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
43 |
44 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Powershell_WPF_GUI #Mahapps # GUI, # WPF
2 |
3 | Preview for Kaxaml editor...
4 |
--------------------------------------------------------------------------------