-
-
Save pramodtvm/c5f5d4d262c2d0ab72d502d1d526c309 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[xml]$XAML = @' | |
<Window x:Name="___Device_Snapshot_Collector_" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
Title="DSCT Log Collector" Height="413.64" Width="522.712" FontSize="14" WindowStartupLocation="CenterScreen"> | |
<Grid Margin="0,0,3,2.667" Background="{DynamicResource {x:Static SystemColors.MenuBarBrushKey}}"> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="227*"/> | |
<RowDefinition Height="147*"/> | |
<RowDefinition/> | |
<RowDefinition Height="3*"/> | |
<RowDefinition Height="0*"/> | |
<RowDefinition Height="3*"/> | |
</Grid.RowDefinitions> | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition x:Name="Device_Snapshot_Collector" Width="0*"/> | |
<ColumnDefinition Width="271*"/> | |
<ColumnDefinition/> | |
<ColumnDefinition Width="0*"/> | |
<ColumnDefinition Width="4*"/> | |
</Grid.ColumnDefinitions> | |
<Button x:Name="button" Content="Execute \ Collect Logs " HorizontalAlignment="Left" VerticalAlignment="Top" Width="268" Margin="226,136,0,0" Height="26" FontSize="14" FontWeight="Bold" Grid.Column="1" Background="{DynamicResource {x:Static SystemColors.MenuBarBrushKey}}"/> | |
<Label x:Name="label" Content="SCCM Domain\UserName" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="27,45,0,0" Width="179" Height="26" FontSize="14" Grid.Column="1"/> | |
<Label x:Name="label1" Content="SCCM IP" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="27,15,0,0" Height="25" Width="160" FontSize="14" Grid.Column="1"/> | |
<Label x:Name="label2" Content="SCCM Password" HorizontalAlignment="Left" Height="27" Margin="27,76,0,0" VerticalAlignment="Top" Width="122" FontSize="14" Grid.Column="1"/> | |
<Grid Height="383" VerticalAlignment="Top" Grid.RowSpan="6" Margin="2,3,0,-4.667" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Left" Width="503" Grid.Column="1" Grid.ColumnSpan="2"> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="225*"/> | |
<RowDefinition Height="158*"/> | |
</Grid.RowDefinitions> | |
<Grid.RenderTransform> | |
<TransformGroup> | |
<ScaleTransform/> | |
<SkewTransform/> | |
<RotateTransform Angle="0.126"/> | |
<TranslateTransform/> | |
</TransformGroup> | |
</Grid.RenderTransform> | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition/> | |
<ColumnDefinition Width="0*"/> | |
</Grid.ColumnDefinitions> | |
<TextBox x:Name="textBox" HorizontalAlignment="Left" Height="23" TextWrapping="Wrap" VerticalAlignment="Top" Width="273" Margin="220,75,0,0"/> | |
<TextBox x:Name="textBox1" HorizontalAlignment="Left" Height="23" TextWrapping="Wrap" VerticalAlignment="Top" Width="273" Margin="220,42,0,0"/> | |
<TextBox x:Name="textBox2" HorizontalAlignment="Left" Height="23" TextWrapping="Wrap" VerticalAlignment="Top" Width="273" Margin="220,10,0,0"/> | |
<CheckBox x:Name="checkBox" Content="Collect BIOS Dump" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="23,147,0,0" Height="27" Width="152" FontSize="14"/> | |
<CheckBox x:Name="checkBox1" Content="Collect MiniDump" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="23,115,0,0" Height="27" Width="152" FontSize="14"/> | |
<TextBlock x:Name="textBlock" HorizontalAlignment="Left" TextWrapping="Wrap" VerticalAlignment="Top" Margin="10,0.225,0,0" Height="136" Width="483" Opacity="0.9" ScrollViewer.VerticalScrollBarVisibility="Auto" ScrollViewer.CanContentScroll="True" Text="Status" FontSize="12" Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}" Grid.Row="1"/> | |
</Grid> | |
<ProgressBar HorizontalAlignment="Left" Height="13" VerticalAlignment="Top" Width="481" Margin="13,178,0,0" Opacity="0.2" RenderTransformOrigin="0.5,0.5" Grid.Column="1"> | |
<ProgressBar.Background> | |
<SolidColorBrush Color="{DynamicResource {x:Static SystemColors.MenuHighlightColorKey}}"/> | |
</ProgressBar.Background> | |
<ProgressBar.RenderTransform> | |
<TransformGroup> | |
<ScaleTransform ScaleY="-1"/> | |
<SkewTransform/> | |
<RotateTransform/> | |
<TranslateTransform/> | |
</TransformGroup> | |
</ProgressBar.RenderTransform> | |
</ProgressBar> | |
<Button x:Name="button1" Content="DSCT Log Path" HorizontalAlignment="Left" VerticalAlignment="Top" Width="100" Margin="394,194,0,0" Height="24" Background="{DynamicResource {x:Static SystemColors.MenuBarBrushKey}}" Grid.Column="1"> | |
<Button.OpacityMask> | |
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"> | |
<GradientStop Color="Black" Offset="0"/> | |
<GradientStop Color="White" Offset="1"/> | |
</LinearGradientBrush> | |
</Button.OpacityMask> | |
</Button> | |
<TextBox x:Name="textBox3" Grid.ColumnSpan="2" HorizontalAlignment="Left" Height="23" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Width="384" Margin="10,194,0,0"/> | |
</Grid> | |
</Window> | |
'@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Its Just a XAML file which i generated for testing.