Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita2de7e1

Browse files
committed
Merge branch 'dev'
2 parentsb2354e2 +09db022 commita2de7e1

File tree

6 files changed

+44
-35
lines changed

6 files changed

+44
-35
lines changed

‎Build.ps1‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
$ModuleName="ExchangeTrackingGUI"
22
$ModuleGuid="7dbaff80-3574-4797-9e57-339e228a3eab"
33
$Year= (Get-Date).Year
4-
$ModuleVersion="0.9.0"
4+
$ModuleVersion="0.9.1"
55
$ReleaseNotes="
6-
* Initial release
6+
* Change CSV output format
7+
* Change Main Form design
78
"
89
$AllFunctions=@(Get-ChildItem-Path$PSScriptRoot\source\*.ps1-ErrorAction SilentlyContinue-Recurse|Sort-Object)
910
$BuildDir="C:\Projects"
@@ -105,7 +106,7 @@ Set-Content -Path $ManifestFile -Value $ManifestDefinition
105106

106107
# Add artefacts
107108
Copy-Item-Path"$PSScriptRoot\README.md"-Destination"$BuildDir\Build\$moduleName\README.md"-Force
108-
Copy-Item-Path"$PSScriptRoot\HISTORY.md"-Destination"$BuildDir\Build\$moduleName\HISTORY.md"-Force
109+
Copy-Item-Path"$PSScriptRoot\CHANGELOG.md"-Destination"$BuildDir\Build\$moduleName\CHANGELOG.md"-Force
109110
Copy-Item-Path"$PSScriptRoot\LICENSE"-Destination"$BuildDir\Build\$moduleName\LICENSE"-Force
110111
Copy-Item-Path"$PSScriptRoot\source\plus-24.png"-Destination"$BuildDir\Build\$moduleName\plus-24.png"-Force
111112
Copy-Item-Path"$PSScriptRoot\source\minus-24.png"-Destination"$BuildDir\Build\$moduleName\minus-24.png"-Force

‎CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
###v.0.9.1 (2019-12-19)
2+
* Change CSV output format
3+
* Change Main Form design
4+
5+
###v.0.9.0 (2019-12-05)
6+
* Initial release

‎HISTORY.md‎

Lines changed: 0 additions & 2 deletions
This file was deleted.

‎README.md‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This is the development branch with latest changes.
1717
Official repository - latest module version and download count.
1818

1919
##Version
20-
0.9.0
20+
0.9.1
2121

2222
##How to use it
2323
1. Install module from PowerShellGallery:
@@ -26,9 +26,13 @@ Official repository - latest module version and download count.
2626
```
2727
2. Start PowerShell console from an account with administrative rights to Exchange.
2828
3. Run Command**Get-MessageTrackingGUI**.
29-
4. Click**[Config]** button and configure parameters. Use FQDN for 'Exchange PS connect' field.
30-
5. Click**[Save]** button. Configuration will be saved at_"$($env:LOCALAPPDATA)\ExchangeTrackingGUI\Config.json"_ file.
29+
4. Click**[Config]** button and configure parameters. Use FQDN for 'Exchange PS connect' field. Use**Enter**,**ESC** and**Del** hot keys.
30+
5. Click**[Save]** button. Configuration will be saved at_"<spanstyle="color:green">$($env:LOCALAPPDATA)\ExchangeTrackingGUI\Config.json</span>"_ file.
3131
6. Use**[Search]** button for view results or**[Export]** button for view and save CSV file.
32+
33+
##Screenshots
34+
![](https://pvs043.github.io/ExchangeTrackingGUI/MainForm.png) <imgalign="top"src="https://pvs043.github.io/ExchangeTrackingGUI/ConfigForm.png">
35+
3236
##License
3337

3438
**MIT**

‎appveyor.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#---------------------------------#
22
# environment configuration #
33
#---------------------------------#
4-
version:0.9.0.{build}
4+
version:0.9.1.{build}
55
image:WMF 5
66

77
#---------------------------------#

‎source/Get-MessageTrackingGUI.ps1‎

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function Get-MessageTrackingGUI {
77
[xml]$MainForm=@"
88
<Window
99
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
10-
Title="Exchange tracking Log" Height="430" Width="444" ResizeMode="NoResize" WindowStartupLocation="CenterScreen">
10+
Title="Exchange tracking Log" Height="568" Width="444" ResizeMode="NoResize" WindowStartupLocation="CenterScreen">
1111
<Grid>
1212
<Label Content="Recipients" HorizontalAlignment="Left" Margin="20,14,0,0" VerticalAlignment="Top" Width="65"/>
1313
<CheckBox Name="CBRecipients" HorizontalAlignment="Left" Margin="90,20,0,0" VerticalAlignment="Top" Width="21"/>
@@ -17,30 +17,30 @@ function Get-MessageTrackingGUI {
1717
<TextBox Name="Sender" HorizontalAlignment="Left" Height="23" Margin="116,47,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="201" IsEnabled="False"/>
1818
<Label Content="Servers" HorizontalAlignment="Left" Margin="20,74,0,0" VerticalAlignment="Top" Width="54" RenderTransformOrigin="0.481,0.962"/>
1919
<CheckBox Name="CBServers" HorizontalAlignment="Left" Margin="90,81,0,0" VerticalAlignment="Top" Width="21" IsChecked="True"/>
20-
<ListBox Name="Servers" HorizontalAlignment="Left" Height="50" Margin="116,77,0,0" VerticalAlignment="Top" Width="201" SelectionMode="Multiple"/>
21-
<Label Content="EventID" HorizontalAlignment="Left" Margin="20,132,0,0" VerticalAlignment="Top" Width="53"/>
22-
<CheckBox Name="CBEventID" HorizontalAlignment="Left" Margin="90,139,0,0" VerticalAlignment="Top" Width="21"/>
23-
<ComboBox Name="EventID" HorizontalAlignment="Left" Margin="116,135,0,0" VerticalAlignment="Top" Width="201" IsEnabled="False"/>
24-
<Label Content="Subject" HorizontalAlignment="Left" Margin="20,162,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.615,0.154"/>
25-
<CheckBox Name="CBSubject" HorizontalAlignment="Left" Margin="90,169,0,0" VerticalAlignment="Top" Width="21"/>
26-
<TextBox Name="Subject" HorizontalAlignment="Left" Height="23" Margin="116,165,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="201" IsEnabled="False"/>
27-
<Label Content="Start" HorizontalAlignment="Left" Margin="20,197,0,0" VerticalAlignment="Top" RenderTransformOrigin="-0.158,-0.385"/>
28-
<CheckBox Name="CBStart" HorizontalAlignment="Left" Margin="90,204,0,0" VerticalAlignment="Top" Width="21" IsChecked="True"/>
29-
<DatePicker Name="StartDate" HorizontalAlignment="Left" Margin="116,199,0,0" VerticalAlignment="Top" Width="102"/>
30-
<ComboBox Name="StartHour" HorizontalAlignment="Left" Margin="225,200,0,0" VerticalAlignment="Top" Width="41"/>
31-
<Label Content=":" HorizontalAlignment="Left" Margin="265,198,0,0" VerticalAlignment="Top"/>
32-
<ComboBox Name="StartMin" HorizontalAlignment="Left" Margin="276,200,0,0" VerticalAlignment="Top" Width="41"/>
33-
<Label Content="End" HorizontalAlignment="Left" Margin="20,228,0,0" VerticalAlignment="Top" RenderTransformOrigin="-0.158,-0.385"/>
34-
<CheckBox Name="CBEnd" HorizontalAlignment="Left" Margin="90,234,0,0" VerticalAlignment="Top" Width="21" IsChecked="True"/>
35-
<DatePicker Name="EndDate" HorizontalAlignment="Left" Margin="116,230,0,0" VerticalAlignment="Top" Width="102"/>
36-
<ComboBox Name="EndHour" HorizontalAlignment="Left" Margin="225,231,0,0" VerticalAlignment="Top" Width="41"/>
37-
<Label Content=":" HorizontalAlignment="Left" Margin="265,228,0,0" VerticalAlignment="Top"/>
38-
<ComboBox Name="EndMin" HorizontalAlignment="Left" Margin="276,231,0,0" VerticalAlignment="Top" Width="41"/>
39-
<Label Content="Exchange Management Shell Command (one server):" HorizontalAlignment="Left" Margin="20,260,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.053,0.615"/>
40-
<TextBox Name="PSCommand" HorizontalAlignment="Left" Height="80" Margin="25,286,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="380" IsReadOnly="True"/>
20+
<ListBox Name="Servers" HorizontalAlignment="Left" Height="184" Margin="116,77,0,0" VerticalAlignment="Top" Width="201" SelectionMode="Multiple"/>
21+
<Label Content="EventID" HorizontalAlignment="Left" Margin="20,270,0,0" VerticalAlignment="Top" Width="53"/>
22+
<CheckBox Name="CBEventID" HorizontalAlignment="Left" Margin="90,277,0,0" VerticalAlignment="Top" Width="21"/>
23+
<ComboBox Name="EventID" HorizontalAlignment="Left" Margin="116,274,0,0" VerticalAlignment="Top" Width="201" IsEnabled="False"/>
24+
<Label Content="Subject" HorizontalAlignment="Left" Margin="20,300,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.615,0.154"/>
25+
<CheckBox Name="CBSubject" HorizontalAlignment="Left" Margin="90,307,0,0" VerticalAlignment="Top" Width="21"/>
26+
<TextBox Name="Subject" HorizontalAlignment="Left" Height="23" Margin="116,303,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="201" IsEnabled="False"/>
27+
<Label Content="Start" HorizontalAlignment="Left" Margin="20,335,0,0" VerticalAlignment="Top" RenderTransformOrigin="-0.158,-0.385"/>
28+
<CheckBox Name="CBStart" HorizontalAlignment="Left" Margin="90,342,0,0" VerticalAlignment="Top" Width="21" IsChecked="True"/>
29+
<DatePicker Name="StartDate" HorizontalAlignment="Left" Margin="116,337,0,0" VerticalAlignment="Top" Width="102"/>
30+
<ComboBox Name="StartHour" HorizontalAlignment="Left" Margin="225,338,0,0" VerticalAlignment="Top" Width="41"/>
31+
<Label Content=":" HorizontalAlignment="Left" Margin="265,337,0,0" VerticalAlignment="Top"/>
32+
<ComboBox Name="StartMin" HorizontalAlignment="Left" Margin="276,338,0,0" VerticalAlignment="Top" Width="41"/>
33+
<Label Content="End" HorizontalAlignment="Left" Margin="20,366,0,0" VerticalAlignment="Top" RenderTransformOrigin="-0.158,-0.385"/>
34+
<CheckBox Name="CBEnd" HorizontalAlignment="Left" Margin="90,372,0,0" VerticalAlignment="Top" Width="21" IsChecked="True"/>
35+
<DatePicker Name="EndDate" HorizontalAlignment="Left" Margin="116,368,0,0" VerticalAlignment="Top" Width="102"/>
36+
<ComboBox Name="EndHour" HorizontalAlignment="Left" Margin="225,368,0,0" VerticalAlignment="Top" Width="41"/>
37+
<Label Content=":" HorizontalAlignment="Left" Margin="265,366,0,0" VerticalAlignment="Top"/>
38+
<ComboBox Name="EndMin" HorizontalAlignment="Left" Margin="276,368,0,0" VerticalAlignment="Top" Width="41"/>
39+
<Label Content="Exchange Management Shell Command (one server):" HorizontalAlignment="Left" Margin="20,398,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.053,0.615"/>
40+
<TextBox Name="PSCommand" HorizontalAlignment="Left" Height="80" Margin="25,424,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="380" IsReadOnly="True"/>
4141
<Button Name="BTSearch" Content="Search" HorizontalAlignment="Left" Margin="335,16,0,0" VerticalAlignment="Top" Width="70" Height="54"/>
42-
<Button Name="BTExport" Content="Export" HorizontalAlignment="Left" Margin="335,77,0,0" VerticalAlignment="Top" Width="70" Height="50"/>
43-
<Button Name="BTConfig" Content="Config" HorizontalAlignment="Left" Margin="335,231,0,0" VerticalAlignment="Top" Width="70" Height="22"/>
42+
<Button Name="BTExport" Content="Export" HorizontalAlignment="Left" Margin="335,77,0,0" VerticalAlignment="Top" Width="70" Height="54"/>
43+
<Button Name="BTConfig" Content="Config" HorizontalAlignment="Left" Margin="335,368,0,0" VerticalAlignment="Top" Width="70" Height="22"/>
4444
</Grid>
4545
</Window>
4646
"@
@@ -310,14 +310,14 @@ function Get-MessageTrackingGUI {
310310
$null=New-Item$Path-ItemType Directory
311311
}
312312
$File="$Path\Export.csv"
313-
Get-MTGTrackingLog|ConvertTo-Csv-NoTypeInformation>$File
313+
Get-MTGTrackingLog|Export-Csv-Delimiter';'-NoTypeInformation-EncodingDefault-Path$File
314314
Invoke-Item$File
315315
})
316316
$BTConfig.Add_Click({
317317
Update-ConfigForm
318318
$XMLConfig.ShowDialog()|Out-Null
319319
})
320-
#endregionSeup Main form
320+
#endregionSetup Main form
321321

322322
# Get configuration
323323
$Config=Get-MTGConfiguration

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp