Push
This commit is contained in:
parent
3a68df44b9
commit
1018c693fd
BIN
AD/CreateN1-N2Users/Create-ADtechs.ps1.psbuild
Normal file
BIN
AD/CreateN1-N2Users/Create-ADtechs.ps1.psbuild
Normal file
Binary file not shown.
BIN
AD/CreateN1-N2Users/bin/x64/Create-ADtechs.exe
Normal file
BIN
AD/CreateN1-N2Users/bin/x64/Create-ADtechs.exe
Normal file
Binary file not shown.
13
AD/CreateN1-N2Users/bin/x64/Create-ADtechs.exe.config
Normal file
13
AD/CreateN1-N2Users/bin/x64/Create-ADtechs.exe.config
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup useLegacyV2RuntimeActivationPolicy="true">
|
||||
<supportedRuntime version="v4.0" />
|
||||
<supportedRuntime version="v2.0" />
|
||||
</startup>
|
||||
<appSettings>
|
||||
<add key="EnableWindowsFormsHighDpiAutoResizing" value="true"/>
|
||||
</appSettings>
|
||||
<runtime>
|
||||
<AppContextSwitchOverrides value="Switch.System.IO.BlockLongPaths=false;Switch.System.IO.UseLegacyPathHandling=false"/>
|
||||
</runtime>
|
||||
</configuration>
|
631
Misc/Register Az App/regApp.TempPoint.psf
Normal file
631
Misc/Register Az App/regApp.TempPoint.psf
Normal file
@ -0,0 +1,631 @@
|
||||
<File version="3.2">
|
||||
<FileID>27bdac5f-55ae-4908-a755-ee5f598a9689</FileID>
|
||||
<Preview>iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAAAXNSR0IArs4c6QAAAARnQU1BAACx
|
||||
jwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAACieSURBVHhe7d1pbJ3Xgd5xN5MpMkDRaYHOh6JA
|
||||
P820g6IfBgO0zWSZpWgaJMF0kkkymEyWGTuTyK4zzeZYiiPLm2TFViZ2HCd2bHnRvpkSRUkURYmk
|
||||
uG+XvNy3y/VyFfdVlERJT3FekhJ5KMmSePRSx+//B/xBWboLdW34PLy8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CU1OjGqgv29ZExMjem7zz7X3WIHKmm82ADq1/UC2apOjetcM
|
||||
gFhL8FS5+bTCYsV15ivUevXDDVtVU12tcwN96ulJKpnsDN729/eqpblJP1y/JRgA5vJLr2/uq2Jh
|
||||
AOw9Vqx42+D8AGjuDd6HpZU29etMaZN+sH6LMk5manxsWNvf3qN/+v5TqqyMa6C/V89v/YVeen2/
|
||||
KtuGVlzfjI+a9qFgAJzIqwtG1NLH1Dxz0Dd26fYHQPe5SVV3jARPJSytunNUFYk+pe94R7se+762
|
||||
/+gxpb76kn5zqkHPnTyvLekX9eD2Yb2WUqza5nYVlcdV1TG8cP0R1Xb36vSJ40rNqlNl13hwe9WJ
|
||||
Bh05cFgnK3pV29GtjGPpyoi3Kb/wrN47WqzyYAAU6r1DWQsDoFIp+80AGFNNe6NS96cps3ogWHP2
|
||||
+0tERP7U0DOuw6crdfR0harbh4LDbelhV9E2rDf2HNeGJ7Zoy/Mv6bkty9u85efa8OSLwavqzU+0
|
||||
tQ9L82I880r8tw/kqL5nXDtS8pRfkQheU2Y+ZbCYeZG5eQZh60tv68mnXgjua8vWl7Xl+ZeDt5uf
|
||||
f1lPP/2injUvzAterN637PpF9b3B5+JP5ddp3/ESVXcMB19xEG/pD346n/mIfzHz6XHzSv6fPPXP
|
||||
enHbL/X0M9u08blf6tc70/TD9c/phRdf0VPPbNMrbx5SVfvosuuazH3XdY5o/7EipRfUq757bNlj
|
||||
akZD//icnn1u820MgHXzA6DGHM4dw8uq6RpTeV2rSqobVDd4XuVNCdW3d+inuwr0g50T+t67c/qz
|
||||
x7v00zdPq6GtQ0XlVaruHFm4/qjqevqVc/q0juc2KZ4cV03HiGq6hlRaXqCDB49on/mcflaNKrpH
|
||||
VVxSoNT0csW6JxWrKlPq0QKVdE6qqrlGaanZym8ZV21HQsdTM5VdN//Ukf3+EhGRPzX2TujImbjS
|
||||
zlSqpmNYxfXzB9xipY39wUfX750q057UPO1Ny1/W7tS84Lv7mcuZll7XZF7cXl6fDF7819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||
2xsA68wAGDKH+JQazGFPREQUUuawNJ8/LzDfA8B5XSqp7wsOSXNf5m1ZY3/w+ysvu/oqWs4Ff5+G
|
||||
ngnVJyeCrxawL+Oq6vYRNfXO/72WZj5oH5y60wHQN/9OmxrNO989obruyVVmboOIIlGSolato+p7
|
||||
JtXYN/+BqOvMs9bmv0/zmjbzPs8/i30PCs5Q83T8wn2ZA9m+jMPMY3bt77RwdgfDo+dOBsC31yV6
|
||||
h6bVZB588y8hWEqT6hiYVO/QhHoG777eIXMbFHZ9w1ORrX9kOrqNrm0DozNr11h0Ozd2fs0aHF/r
|
||||
ZiPb0MSshicuqH/0vBq758/u4PzumdTQlPTMM8/d3QCo755U//CEpifHNTlx901NTqxZ01OTkW1m
|
||||
empNOz8zvWbNnp+JbBdnz69ply7Orllzly5Etstzl9asK5fn1rSrVy5HNl29IumqZi/OBR+0Ox0A
|
||||
fUMTwSE+Pn73TUxMrFmTk5ORbWpqak0zP0xjrZqZmYls58+fX9NmZ2fXrAsXLkS2ixcvrlmXLl1a
|
||||
0+bm5iLb5ctmCFzRzOwlBoCdfShGKftADjv7UA4z+1CMUvaBHHb2oRxm9qEYpexDOczsAzns7EPR
|
||||
x8yPA5bMR/O2q7py+fKKy1+7HgPg5tmHYpSyD+Swsw/lMLMPxShlH8hhZx/KYWYfilHKPpTDzD6Q
|
||||
w84+FH0reCpfV9SYHFFKYZt2nGkK2ns2odKmAc1euBj8+eXLK6/LALhF9qEYpewDOezsQznM7EMx
|
||||
StkHctjZh3KY2YdilLIP5TCzD+Swsw9FXwoO9Mtz6h+Z0sH8hL7zeqE+9WS6/uRHR/XRx47qTzcc
|
||||
14Mv5+r19Hq1949fv86y22AA3DT7UIxS9oEcdvahHGb2oRil7AM57OxDOczsQzFK2YdymNkHctjZ
|
||||
B6svmcO7b2Rar6c36H8/mR4c+p9Yn7asjz2epr944rie3FWupu5RXbo0/+mCpbfBALhJ9qEYpewD
|
||||
OezsQznM7EMxStkHctjZh3KY2YdilLIP5T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
|
||||
wRgAREREEY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9vu
|
||||
swwHgTRTl/dPSh+p11eToY/qQTecytoMik759am40ge9J00NRa3fUo3n4lZeyds3+RHPwdY28sCt
|
||||
lJedpTZVVk7oWqORUhha9280Yoab9KCOxRaeP9i2Xa3eZff0pCR3/2KT2ChO/zmxa8e3tPHnD9vr
|
||||
QXONmn3UY5Pmy8/vp8kd4yiyiSopgc0JOYrs4UBNHltNaun4/zz7fWWiS4cbzZ9PxzeN7igfyToX
|
||||
IUROHqIJjCQ7dZSS92VQ+wd/RWejuBUAAA==</Form>
|
||||
<Code><![CDATA[
|
||||
$form1_Load={
|
||||
#TODO: Initialize Form Controls here
|
||||
|
||||
Set-ControlTheme $form1 -Theme Dark
|
||||
}
|
||||
|
||||
$darkToolStripMenuItem_Click={
|
||||
#TODO: Place custom script here
|
||||
Set-ControlTheme -Control $form1 -Theme Dark
|
||||
}
|
||||
|
||||
$lightToolStripMenuItem_Click={
|
||||
Set-ControlTheme -Control $form1 -Theme Light
|
||||
}
|
||||
|
||||
#region Control Theme Helper Function
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Applies a theme to the control and its children.
|
||||
|
||||
.PARAMETER Control
|
||||
The control to theme. Usually the form itself.
|
||||
|
||||
.PARAMETER Theme
|
||||
The color theme:
|
||||
Light
|
||||
Dark
|
||||
|
||||
.PARAMETER CustomColor
|
||||
A hashtable that contains the color values.
|
||||
Keys:
|
||||
WindowColor
|
||||
ContainerColor
|
||||
BackColor
|
||||
ForeColor
|
||||
BorderColor
|
||||
SelectionForeColor
|
||||
SelectionBackColor
|
||||
MenuSelectionColor
|
||||
.EXAMPLE
|
||||
PS C:\> Set-ControlTheme -Control $form1 -Theme Dark
|
||||
|
||||
.EXAMPLE
|
||||
PS C:\> Set-ControlTheme -Control $form1 -CustomColor @{ WindowColor = 'White'; ContainerBackColor = 'Gray'; BackColor... }
|
||||
.NOTES
|
||||
Created by SAPIEN Technologies, Inc.
|
||||
#>
|
||||
function Set-ControlTheme
|
||||
{
|
||||
[CmdletBinding()]
|
||||
param
|
||||
(
|
||||
[Parameter(Mandatory = $true)]
|
||||
[ValidateNotNull()]
|
||||
[System.ComponentModel.Component]$Control,
|
||||
[ValidateSet('Light', 'Dark')]
|
||||
[string]$Theme = 'Dark',
|
||||
[System.Collections.Hashtable]$CustomColor
|
||||
)
|
||||
|
||||
$Font = [System.Drawing.Font]::New('Segoe UI', 9)
|
||||
|
||||
#Initialize the colors
|
||||
if ($Theme -eq 'Dark')
|
||||
{
|
||||
$WindowColor = [System.Drawing.Color]::FromArgb(32, 32, 32)
|
||||
$ContainerColor = [System.Drawing.Color]::FromArgb(45, 45, 45)
|
||||
$BackColor = [System.Drawing.Color]::FromArgb(32, 32, 32)
|
||||
$ForeColor = [System.Drawing.Color]::White
|
||||
$BorderColor = [System.Drawing.Color]::DimGray
|
||||
$SelectionBackColor = [System.Drawing.SystemColors]::Highlight
|
||||
$SelectionForeColor = [System.Drawing.Color]::White
|
||||
$MenuSelectionColor = [System.Drawing.Color]::DimGray
|
||||
}
|
||||
else
|
||||
{
|
||||
$WindowColor = [System.Drawing.Color]::White
|
||||
$ContainerColor = [System.Drawing.Color]::WhiteSmoke
|
||||
$BackColor = [System.Drawing.Color]::Gainsboro
|
||||
$ForeColor = [System.Drawing.Color]::Black
|
||||
$BorderColor = [System.Drawing.Color]::DimGray
|
||||
$SelectionBackColor = [System.Drawing.SystemColors]::Highlight
|
||||
$SelectionForeColor = [System.Drawing.Color]::White
|
||||
$MenuSelectionColor = [System.Drawing.Color]::LightSteelBlue
|
||||
}
|
||||
|
||||
if ($CustomColor)
|
||||
{
|
||||
#Check and Validate the custom colors:
|
||||
$Color = $CustomColor.WindowColor -as [System.Drawing.Color]
|
||||
if ($Color) { $WindowColor = $Color }
|
||||
$Color = $CustomColor.ContainerColor -as [System.Drawing.Color]
|
||||
if ($Color) { $ContainerColor = $Color }
|
||||
$Color = $CustomColor.BackColor -as [System.Drawing.Color]
|
||||
if ($Color) { $BackColor = $Color }
|
||||
$Color = $CustomColor.ForeColor -as [System.Drawing.Color]
|
||||
if ($Color) { $ForeColor = $Color }
|
||||
$Color = $CustomColor.BorderColor -as [System.Drawing.Color]
|
||||
if ($Color) { $BorderColor = $Color }
|
||||
$Color = $CustomColor.SelectionBackColor -as [System.Drawing.Color]
|
||||
if ($Color) { $SelectionBackColor = $Color }
|
||||
$Color = $CustomColor.SelectionForeColor -as [System.Drawing.Color]
|
||||
if ($Color) { $SelectionForeColor = $Color }
|
||||
$Color = $CustomColor.MenuSelectionColor -as [System.Drawing.Color]
|
||||
if ($Color) { $MenuSelectionColor = $Color }
|
||||
}
|
||||
|
||||
#Define the custom renderer for the menus
|
||||
#region Add-Type definition
|
||||
try
|
||||
{
|
||||
[SAPIENTypes.SAPIENColorTable] | Out-Null
|
||||
}
|
||||
catch
|
||||
{
|
||||
if ($PSVersionTable.PSVersion.Major -ge 7)
|
||||
{
|
||||
$Assemblies = 'System.Windows.Forms', 'System.Drawing', 'System.Drawing.Primitives'
|
||||
}
|
||||
else
|
||||
{
|
||||
$Assemblies = 'System.Windows.Forms', 'System.Drawing'
|
||||
}
|
||||
Add-Type -ReferencedAssemblies $Assemblies -TypeDefinition "
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
using System.Drawing;
|
||||
namespace SAPIENTypes
|
||||
{
|
||||
public class SAPIENColorTable : ProfessionalColorTable
|
||||
{
|
||||
Color ContainerBackColor;
|
||||
Color BackColor;
|
||||
Color BorderColor;
|
||||
Color SelectBackColor;
|
||||
|
||||
public SAPIENColorTable(Color containerColor, Color backColor, Color borderColor, Color selectBackColor)
|
||||
{
|
||||
ContainerBackColor = containerColor;
|
||||
BackColor = backColor;
|
||||
BorderColor = borderColor;
|
||||
SelectBackColor = selectBackColor;
|
||||
}
|
||||
public override Color MenuStripGradientBegin { get { return ContainerBackColor; } }
|
||||
public override Color MenuStripGradientEnd { get { return ContainerBackColor; } }
|
||||
public override Color ToolStripBorder { get { return BorderColor; } }
|
||||
public override Color MenuItemBorder { get { return SelectBackColor; } }
|
||||
public override Color MenuItemSelected { get { return SelectBackColor; } }
|
||||
public override Color SeparatorDark { get { return BorderColor; } }
|
||||
public override Color ToolStripDropDownBackground { get { return BackColor; } }
|
||||
public override Color MenuBorder { get { return BorderColor; } }
|
||||
public override Color MenuItemSelectedGradientBegin { get { return SelectBackColor; } }
|
||||
public override Color MenuItemSelectedGradientEnd { get { return SelectBackColor; } }
|
||||
public override Color MenuItemPressedGradientBegin { get { return ContainerBackColor; } }
|
||||
public override Color MenuItemPressedGradientEnd { get { return ContainerBackColor; } }
|
||||
public override Color MenuItemPressedGradientMiddle { get { return ContainerBackColor; } }
|
||||
public override Color ImageMarginGradientBegin { get { return BackColor; } }
|
||||
public override Color ImageMarginGradientEnd { get { return BackColor; } }
|
||||
public override Color ImageMarginGradientMiddle { get { return BackColor; } }
|
||||
}
|
||||
}"
|
||||
}
|
||||
#endregion
|
||||
|
||||
$colorTable = New-Object SAPIENTypes.SAPIENColorTable -ArgumentList $ContainerColor, $BackColor, $BorderColor, $MenuSelectionColor
|
||||
$render = New-Object System.Windows.Forms.ToolStripProfessionalRenderer -ArgumentList $colorTable
|
||||
[System.Windows.Forms.ToolStripManager]::Renderer = $render
|
||||
|
||||
#Set up our processing queue
|
||||
$Queue = New-Object System.Collections.Generic.Queue[System.ComponentModel.Component]
|
||||
$Queue.Enqueue($Control)
|
||||
|
||||
Add-Type -AssemblyName System.Core
|
||||
|
||||
#Only process the controls once.
|
||||
$Processed = New-Object System.Collections.Generic.HashSet[System.ComponentModel.Component]
|
||||
|
||||
#Apply the colors to the controls
|
||||
while ($Queue.Count -gt 0)
|
||||
{
|
||||
$target = $Queue.Dequeue()
|
||||
|
||||
#Skip controls we already processed
|
||||
if ($Processed.Contains($target)) { continue }
|
||||
$Processed.Add($target)
|
||||
|
||||
#Set the text color
|
||||
$target.ForeColor = $ForeColor
|
||||
|
||||
#region Handle Controls
|
||||
if ($target -is [System.Windows.Forms.Form])
|
||||
{
|
||||
#Set Font
|
||||
$target.Font = $Font
|
||||
$target.BackColor = $ContainerColor
|
||||
}
|
||||
elseif ($target -is [System.Windows.Forms.SplitContainer])
|
||||
{
|
||||
$target.BackColor = $BorderColor
|
||||
}
|
||||
elseif ($target -is [System.Windows.Forms.PropertyGrid])
|
||||
{
|
||||
$target.BackColor = $BorderColor
|
||||
$target.ViewBackColor = $BackColor
|
||||
$target.ViewForeColor = $ForeColor
|
||||
$target.ViewBorderColor = $BorderColor
|
||||
$target.CategoryForeColor = $ForeColor
|
||||
$target.CategorySplitterColor = $ContainerColor
|
||||
$target.HelpBackColor = $BackColor
|
||||
$target.HelpForeColor = $ForeColor
|
||||
$target.HelpBorderColor = $BorderColor
|
||||
$target.CommandsBackColor = $BackColor
|
||||
$target.CommandsBorderColor = $BorderColor
|
||||
$target.CommandsForeColor = $ForeColor
|
||||
$target.LineColor = $ContainerColor
|
||||
}
|
||||
elseif ($target -is [System.Windows.Forms.ContainerControl] -or
|
||||
$target -is [System.Windows.Forms.Panel])
|
||||
{
|
||||
#Set the BackColor for the container
|
||||
$target.BackColor = $ContainerColor
|
||||
|
||||
}
|
||||
elseif ($target -is [System.Windows.Forms.GroupBox])
|
||||
{
|
||||
$target.FlatStyle = 'Flat'
|
||||
}
|
||||
elseif ($target -is [System.Windows.Forms.Button])
|
||||
{
|
||||
$target.FlatStyle = 'Flat'
|
||||
$target.FlatAppearance.BorderColor = $BorderColor
|
||||
$target.BackColor = $BackColor
|
||||
}
|
||||
elseif ($target -is [System.Windows.Forms.CheckBox] -or
|
||||
$target -is [System.Windows.Forms.RadioButton] -or
|
||||
$target -is [System.Windows.Forms.Label])
|
||||
{
|
||||
#$target.FlatStyle = 'Flat'
|
||||
}
|
||||
elseif ($target -is [System.Windows.Forms.ComboBox])
|
||||
{
|
||||
$target.BackColor = $BackColor
|
||||
$target.FlatStyle = 'Flat'
|
||||
}
|
||||
elseif ($target -is [System.Windows.Forms.TextBox])
|
||||
{
|
||||
$target.BorderStyle = 'FixedSingle'
|
||||
$target.BackColor = $BackColor
|
||||
}
|
||||
elseif ($target -is [System.Windows.Forms.DataGridView])
|
||||
{
|
||||
$target.GridColor = $BorderColor
|
||||
$target.BackgroundColor = $ContainerColor
|
||||
$target.DefaultCellStyle.BackColor = $WindowColor
|
||||
$target.DefaultCellStyle.SelectionBackColor = $SelectionBackColor
|
||||
$target.DefaultCellStyle.SelectionForeColor = $SelectionForeColor
|
||||
$target.ColumnHeadersDefaultCellStyle.BackColor = $ContainerColor
|
||||
$target.ColumnHeadersDefaultCellStyle.ForeColor = $ForeColor
|
||||
$target.EnableHeadersVisualStyles = $false
|
||||
$target.ColumnHeadersBorderStyle = 'Single'
|
||||
$target.RowHeadersBorderStyle = 'Single'
|
||||
$target.RowHeadersDefaultCellStyle.BackColor = $ContainerColor
|
||||
$target.RowHeadersDefaultCellStyle.ForeColor = $ForeColor
|
||||
|
||||
}
|
||||
elseif ($PSVersionTable.PSVersion.Major -le 5 -and $target -is [System.Windows.Forms.DataGrid])
|
||||
{
|
||||
$target.CaptionBackColor = $WindowColor
|
||||
$target.CaptionForeColor = $ForeColor
|
||||
$target.BackgroundColor = $ContainerColor
|
||||
$target.BackColor = $WindowColor
|
||||
$target.ForeColor = $ForeColor
|
||||
$target.HeaderBackColor = $ContainerColor
|
||||
$target.HeaderForeColor = $ForeColor
|
||||
$target.FlatMode = $true
|
||||
$target.BorderStyle = 'FixedSingle'
|
||||
$target.GridLineColor = $BorderColor
|
||||
$target.AlternatingBackColor = $ContainerColor
|
||||
$target.SelectionBackColor = $SelectionBackColor
|
||||
$target.SelectionForeColor = $SelectionForeColor
|
||||
}
|
||||
elseif ($target -is [System.Windows.Forms.ToolStrip])
|
||||
{
|
||||
|
||||
$target.BackColor = $BackColor
|
||||
$target.Renderer = $render
|
||||
|
||||
foreach ($item in $target.Items)
|
||||
{
|
||||
$Queue.Enqueue($item)
|
||||
}
|
||||
}
|
||||
elseif ($target -is [System.Windows.Forms.ToolStripMenuItem] -or
|
||||
$target -is [System.Windows.Forms.ToolStripDropDown] -or
|
||||
$target -is [System.Windows.Forms.ToolStripDropDownItem])
|
||||
{
|
||||
$target.BackColor = $BackColor
|
||||
foreach ($item in $target.DropDownItems)
|
||||
{
|
||||
$Queue.Enqueue($item)
|
||||
}
|
||||
}
|
||||
elseif ($target -is [System.Windows.Forms.ListBox] -or
|
||||
$target -is [System.Windows.Forms.ListView] -or
|
||||
$target -is [System.Windows.Forms.TreeView])
|
||||
{
|
||||
$target.BackColor = $WindowColor
|
||||
}
|
||||
else
|
||||
{
|
||||
$target.BackColor = $BackColor
|
||||
}
|
||||
#endregion
|
||||
|
||||
if ($target -is [System.Windows.Forms.Control])
|
||||
{
|
||||
#Queue all the child controls
|
||||
foreach ($child in $target.Controls)
|
||||
{
|
||||
$Queue.Enqueue($child)
|
||||
}
|
||||
if ($target.ContextMenuStrip)
|
||||
{
|
||||
$Queue.Enqueue($target.ContextMenuStrip);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
$send_Click={
|
||||
|
||||
Register-PnPEntraIDAppForInteractiveLogin -ApplicationName "$appName_box" -Tenant $tenant_box -Interactive
|
||||
|
||||
|
||||
}
|
||||
|
||||
$tenant_box_TextChanged={
|
||||
#TODO: Place custom script here
|
||||
|
||||
}
|
||||
|
||||
#region Control Helper Functions
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Sets the emulation of the WebBrowser control for the application.
|
||||
|
||||
.DESCRIPTION
|
||||
Sets the emulation of the WebBrowser control for the application using the installed version of IE.
|
||||
This improves the WebBrowser control compatibility with newer html features.
|
||||
|
||||
.PARAMETER ExecutableName
|
||||
The name of the executable E.g. PowerShellStudio.exe.
|
||||
Default Value: The running executable name.
|
||||
|
||||
.EXAMPLE
|
||||
PS C:\> Set-WebBrowserEmulation
|
||||
|
||||
.EXAMPLE
|
||||
PS C:\> Set-WebBrowserEmulation PowerShell.exe
|
||||
#>
|
||||
function Set-WebBrowserEmulation
|
||||
{
|
||||
param
|
||||
(
|
||||
[ValidateNotNullOrEmpty()]
|
||||
[string]
|
||||
$ExecutableName = [System.IO.Path]::GetFileName([System.Diagnostics.Process]::GetCurrentProcess().MainModule.FileName)
|
||||
)
|
||||
|
||||
#region Get IE Version
|
||||
$valueNames = 'svcVersion', 'svcUpdateVersion', 'Version', 'W2kVersion'
|
||||
|
||||
$version = 0;
|
||||
for ($i = 0; $i -lt $valueNames.Length; $i++)
|
||||
{
|
||||
$objVal = [Microsoft.Win32.Registry]::GetValue('HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer', $valueNames[$i], '0')
|
||||
$strVal = [System.Convert]::ToString($objVal)
|
||||
if ($strVal)
|
||||
{
|
||||
$iPos = $strVal.IndexOf('.')
|
||||
if ($iPos -gt 0)
|
||||
{
|
||||
$strVal = $strVal.Substring(0, $iPos)
|
||||
}
|
||||
|
||||
$res = 0;
|
||||
if ([int]::TryParse($strVal, [ref]$res))
|
||||
{
|
||||
$version = [Math]::Max($version, $res)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($version -lt 7)
|
||||
{
|
||||
$version = 7000
|
||||
}
|
||||
else
|
||||
{
|
||||
$version = $version * 1000
|
||||
}
|
||||
#endregion
|
||||
|
||||
[Microsoft.Win32.Registry]::SetValue('HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION', $ExecutableName, $version)
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
$webbrowser1_DocumentCompleted=[System.Windows.Forms.WebBrowserDocumentCompletedEventHandler]{
|
||||
#Event Argument: $_ = [System.Windows.Forms.WebBrowserDocumentCompletedEventArgs]
|
||||
#TODO: Place custom script here
|
||||
|
||||
}
|
||||
]]></Code>
|
||||
<TV>0</TV>
|
||||
<Mode>1</Mode>
|
||||
<Assemblies />
|
||||
</File>
|
647
Misc/Register Az App/regApp.psf
Normal file
647
Misc/Register Az App/regApp.psf
Normal file
@ -0,0 +1,647 @@
|
||||
<File version="3.2">
|
||||
<FileID>27bdac5f-55ae-4908-a755-ee5f598a9689</FileID>
|
||||
<Preview>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Vlp7S6798XUFr1mrjxo2aHfSx1n4RI29bjOZPZgAAwNOAAfADafgA
|
||||
CM6u12BfiTa+9gv9+Hdva/ascfqH//T3mjB7ll5/fZki6wakhsua9vYSRZdUqiz5vJbNmaP3X/2t
|
||||
Xp+6XKvnztTcnTGS3Lq4cbGWr1qrTxZ9rqTyVvk7jecUGPcAtCp63zYFTTisSvOfQosit23QigXB
|
||||
5gB47ecvafaylVo+a5ye/cVr+jqtR2q7rU8mL2cAAMBTgAHwA+meAZDTKPlTNf/Xv9NHy/cr/GaE
|
||||
Lp67qKvnduijGfvk8vSpu+qa5ny8QceP7tD852bq6KVIHd30icbPXKmVK9foy5BCSQ06uXOjVixf
|
||||
qRmf7FJiZZu6zQHgVteAX5lndmrBjDUqML8CoUWntixV0JYoVeaf0JSPD6vZ/CfSraQDn+qPG6M1
|
||||
0BateVPXKrygzfyTwf4e+TxDX1Fg/+8ZizEAADgJA+AH0tAAiNOin07XifQq9Q96Fb5lsmZOX6qr
|
||||
l45p5ab9Onpwi94fv1XZbb3qqbioSR8t08H9n2vKL+Zqb+g1bft4kn794UJ9ujBIm49nS6rT4XXL
|
||||
FLRitWZ/NEEbv45SfafxZX4d8nb1qzH7kjaueEO7T19TeOhRTV25WJ9HV6ktdZ/eeHe7Cju86unt
|
||||
VlX6aU17drkyG2M0++W3NHfdHp08dVxHLt5USV370JcF3ue/aazFAADgJAyAH0jGM/w9nmJd2nVW
|
||||
yWX18vq71NVcppNbZ2rcuAlaF5qmioo0HT8aror2Tvka0nXiWJiKyip1a+86TR43Th8vXK1dp67o
|
||||
cuglRSZVqLu7WQnXL+tSdKxuHl6moMWHVej1yec2Dmy3/L2dKk6/oi0rF2jBkjU6HJ4sX3+PGgpv
|
||||
6/DRKNV0eOTzedVSnasrR08rr65UF7Yt0kcffqhx48Zp3KLPlVzWph7zqxFG/jeNtRgAAJyEAfCD
|
||||
yquewV75vcYLALWrw+NTn/UCQYM9nfJ6/err65ano13t7k7z5z6vV10D3/yFDvb1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</Preview>
|
||||
<Form>7gF61QJ5XRkAACODCAAAAAAABADVmGlvqkwUgL836X8gfq2paMElURNwqxYXwKW9XxqWEag4Y1ncfv07A/bV
|
||||
VqrjzfWmt01wgDmc5TnnzEC5r78BI/CrtzcMU45PmGCzAJWUuvEDML+fONBEK/++ibx5fEwzSbfS
|
||||
zBh4voNghbtnyX+aqYVu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E17I77SYKdlkILZMcThqCILUGtQya1uUyVV3pTbd7e0NHvaX
|
||||
+FD3VqKrrzcquSvarDK22VGuNDcfTduYjwSj1VzoUA71+Zht1+Wwq3LZXw3zJdL8NO4ojebo9qbf
|
||||
uAtmM79vvQmyLM2fDU3rFEc8O5NYXd5aUuAoXIef1rx33W4XuZHebEMwWXPLJ4Xthqbh+hL30u7N
|
||||
tKKjY9umUmuob+Rhd1RqyGKwfQ8HARItQZJ5Eci9gmX8avTad8+rZjY/4Y07YaIuVU7s9IJt+0WC
|
||||
fV+cKsvHZ7mHlNub8WCOBL8dTiR1Cnm7+PacX2n97rOqhLzaayj6S34rraTtu/TkzcDW0nPAKRWX
|
||||
raU6kVd26JjDocwNzMd37DGJm9hRRnzDm3Usy6pUypkdHkq4uzegxEZx/gti1I4fyAvpcXs9aq5x
|
||||
s999NUpYX35+P03uGCcjmyhCGdgsm8WRPV5Qk5etOtZ0+mPsbl+ZaNLxRvPn4/im0Z3kkSxzFSBS
|
||||
8iKaQCTZqJNIPoZ+9T9wSmBFXRkAAA==</Form>
|
||||
<Code><![CDATA[
|
||||
$form1_Load={
|
||||
#TODO: Initialize Form Controls here
|
||||
|
||||
Set-ControlTheme $form1 -Theme Dark
|
||||
}
|
||||
|
||||
$darkToolStripMenuItem_Click={
|
||||
#TODO: Place custom script here
|
||||
Set-ControlTheme -Control $form1 -Theme Dark
|
||||
}
|
||||
|
||||
$lightToolStripMenuItem_Click={
|
||||
Set-ControlTheme -Control $form1 -Theme Light
|
||||
}
|
||||
|
||||
#region Control Theme Helper Function
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Applies a theme to the control and its children.
|
||||
|
||||
.PARAMETER Control
|
||||
The control to theme. Usually the form itself.
|
||||
|
||||
.PARAMETER Theme
|
||||
The color theme:
|
||||
Light
|
||||
Dark
|
||||
|
||||
.PARAMETER CustomColor
|
||||
A hashtable that contains the color values.
|
||||
Keys:
|
||||
WindowColor
|
||||
ContainerColor
|
||||
BackColor
|
||||
ForeColor
|
||||
BorderColor
|
||||
SelectionForeColor
|
||||
SelectionBackColor
|
||||
MenuSelectionColor
|
||||
.EXAMPLE
|
||||
PS C:\> Set-ControlTheme -Control $form1 -Theme Dark
|
||||
|
||||
.EXAMPLE
|
||||
PS C:\> Set-ControlTheme -Control $form1 -CustomColor @{ WindowColor = 'White'; ContainerBackColor = 'Gray'; BackColor... }
|
||||
.NOTES
|
||||
Created by SAPIEN Technologies, Inc.
|
||||
#>
|
||||
function Set-ControlTheme
|
||||
{
|
||||
[CmdletBinding()]
|
||||
param
|
||||
(
|
||||
[Parameter(Mandatory = $true)]
|
||||
[ValidateNotNull()]
|
||||
[System.ComponentModel.Component]$Control,
|
||||
[ValidateSet('Light', 'Dark')]
|
||||
[string]$Theme = 'Dark',
|
||||
[System.Collections.Hashtable]$CustomColor
|
||||
)
|
||||
|
||||
$Font = [System.Drawing.Font]::New('Segoe UI', 9)
|
||||
|
||||
#Initialize the colors
|
||||
if ($Theme -eq 'Dark')
|
||||
{
|
||||
$WindowColor = [System.Drawing.Color]::FromArgb(32, 32, 32)
|
||||
$ContainerColor = [System.Drawing.Color]::FromArgb(45, 45, 45)
|
||||
$BackColor = [System.Drawing.Color]::FromArgb(32, 32, 32)
|
||||
$ForeColor = [System.Drawing.Color]::White
|
||||
$BorderColor = [System.Drawing.Color]::DimGray
|
||||
$SelectionBackColor = [System.Drawing.SystemColors]::Highlight
|
||||
$SelectionForeColor = [System.Drawing.Color]::White
|
||||
$MenuSelectionColor = [System.Drawing.Color]::DimGray
|
||||
}
|
||||
else
|
||||
{
|
||||
$WindowColor = [System.Drawing.Color]::White
|
||||
$ContainerColor = [System.Drawing.Color]::WhiteSmoke
|
||||
$BackColor = [System.Drawing.Color]::Gainsboro
|
||||
$ForeColor = [System.Drawing.Color]::Black
|
||||
$BorderColor = [System.Drawing.Color]::DimGray
|
||||
$SelectionBackColor = [System.Drawing.SystemColors]::Highlight
|
||||
$SelectionForeColor = [System.Drawing.Color]::White
|
||||
$MenuSelectionColor = [System.Drawing.Color]::LightSteelBlue
|
||||
}
|
||||
|
||||
if ($CustomColor)
|
||||
{
|
||||
#Check and Validate the custom colors:
|
||||
$Color = $CustomColor.WindowColor -as [System.Drawing.Color]
|
||||
if ($Color) { $WindowColor = $Color }
|
||||
$Color = $CustomColor.ContainerColor -as [System.Drawing.Color]
|
||||
if ($Color) { $ContainerColor = $Color }
|
||||
$Color = $CustomColor.BackColor -as [System.Drawing.Color]
|
||||
if ($Color) { $BackColor = $Color }
|
||||
$Color = $CustomColor.ForeColor -as [System.Drawing.Color]
|
||||
if ($Color) { $ForeColor = $Color }
|
||||
$Color = $CustomColor.BorderColor -as [System.Drawing.Color]
|
||||
if ($Color) { $BorderColor = $Color }
|
||||
$Color = $CustomColor.SelectionBackColor -as [System.Drawing.Color]
|
||||
if ($Color) { $SelectionBackColor = $Color }
|
||||
$Color = $CustomColor.SelectionForeColor -as [System.Drawing.Color]
|
||||
if ($Color) { $SelectionForeColor = $Color }
|
||||
$Color = $CustomColor.MenuSelectionColor -as [System.Drawing.Color]
|
||||
if ($Color) { $MenuSelectionColor = $Color }
|
||||
}
|
||||
|
||||
#Define the custom renderer for the menus
|
||||
#region Add-Type definition
|
||||
try
|
||||
{
|
||||
[SAPIENTypes.SAPIENColorTable] | Out-Null
|
||||
}
|
||||
catch
|
||||
{
|
||||
if ($PSVersionTable.PSVersion.Major -ge 7)
|
||||
{
|
||||
$Assemblies = 'System.Windows.Forms', 'System.Drawing', 'System.Drawing.Primitives'
|
||||
}
|
||||
else
|
||||
{
|
||||
$Assemblies = 'System.Windows.Forms', 'System.Drawing'
|
||||
}
|
||||
Add-Type -ReferencedAssemblies $Assemblies -TypeDefinition "
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
using System.Drawing;
|
||||
namespace SAPIENTypes
|
||||
{
|
||||
public class SAPIENColorTable : ProfessionalColorTable
|
||||
{
|
||||
Color ContainerBackColor;
|
||||
Color BackColor;
|
||||
Color BorderColor;
|
||||
Color SelectBackColor;
|
||||
|
||||
public SAPIENColorTable(Color containerColor, Color backColor, Color borderColor, Color selectBackColor)
|
||||
{
|
||||
ContainerBackColor = containerColor;
|
||||
BackColor = backColor;
|
||||
BorderColor = borderColor;
|
||||
SelectBackColor = selectBackColor;
|
||||
}
|
||||
public override Color MenuStripGradientBegin { get { return ContainerBackColor; } }
|
||||
public override Color MenuStripGradientEnd { get { return ContainerBackColor; } }
|
||||
public override Color ToolStripBorder { get { return BorderColor; } }
|
||||
public override Color MenuItemBorder { get { return SelectBackColor; } }
|
||||
public override Color MenuItemSelected { get { return SelectBackColor; } }
|
||||
public override Color SeparatorDark { get { return BorderColor; } }
|
||||
public override Color ToolStripDropDownBackground { get { return BackColor; } }
|
||||
public override Color MenuBorder { get { return BorderColor; } }
|
||||
public override Color MenuItemSelectedGradientBegin { get { return SelectBackColor; } }
|
||||
public override Color MenuItemSelectedGradientEnd { get { return SelectBackColor; } }
|
||||
public override Color MenuItemPressedGradientBegin { get { return ContainerBackColor; } }
|
||||
public override Color MenuItemPressedGradientEnd { get { return ContainerBackColor; } }
|
||||
public override Color MenuItemPressedGradientMiddle { get { return ContainerBackColor; } }
|
||||
public override Color ImageMarginGradientBegin { get { return BackColor; } }
|
||||
public override Color ImageMarginGradientEnd { get { return BackColor; } }
|
||||
public override Color ImageMarginGradientMiddle { get { return BackColor; } }
|
||||
}
|
||||
}"
|
||||
}
|
||||
#endregion
|
||||
|
||||
$colorTable = New-Object SAPIENTypes.SAPIENColorTable -ArgumentList $ContainerColor, $BackColor, $BorderColor, $MenuSelectionColor
|
||||
$render = New-Object System.Windows.Forms.ToolStripProfessionalRenderer -ArgumentList $colorTable
|
||||
[System.Windows.Forms.ToolStripManager]::Renderer = $render
|
||||
|
||||
#Set up our processing queue
|
||||
$Queue = New-Object System.Collections.Generic.Queue[System.ComponentModel.Component]
|
||||
$Queue.Enqueue($Control)
|
||||
|
||||
Add-Type -AssemblyName System.Core
|
||||
|
||||
#Only process the controls once.
|
||||
$Processed = New-Object System.Collections.Generic.HashSet[System.ComponentModel.Component]
|
||||
|
||||
#Apply the colors to the controls
|
||||
while ($Queue.Count -gt 0)
|
||||
{
|
||||
$target = $Queue.Dequeue()
|
||||
|
||||
#Skip controls we already processed
|
||||
if ($Processed.Contains($target)) { continue }
|
||||
$Processed.Add($target)
|
||||
|
||||
#Set the text color
|
||||
$target.ForeColor = $ForeColor
|
||||
|
||||
#region Handle Controls
|
||||
if ($target -is [System.Windows.Forms.Form])
|
||||
{
|
||||
#Set Font
|
||||
$target.Font = $Font
|
||||
$target.BackColor = $ContainerColor
|
||||
}
|
||||
elseif ($target -is [System.Windows.Forms.SplitContainer])
|
||||
{
|
||||
$target.BackColor = $BorderColor
|
||||
}
|
||||
elseif ($target -is [System.Windows.Forms.PropertyGrid])
|
||||
{
|
||||
$target.BackColor = $BorderColor
|
||||
$target.ViewBackColor = $BackColor
|
||||
$target.ViewForeColor = $ForeColor
|
||||
$target.ViewBorderColor = $BorderColor
|
||||
$target.CategoryForeColor = $ForeColor
|
||||
$target.CategorySplitterColor = $ContainerColor
|
||||
$target.HelpBackColor = $BackColor
|
||||
$target.HelpForeColor = $ForeColor
|
||||
$target.HelpBorderColor = $BorderColor
|
||||
$target.CommandsBackColor = $BackColor
|
||||
$target.CommandsBorderColor = $BorderColor
|
||||
$target.CommandsForeColor = $ForeColor
|
||||
$target.LineColor = $ContainerColor
|
||||
}
|
||||
elseif ($target -is [System.Windows.Forms.ContainerControl] -or
|
||||
$target -is [System.Windows.Forms.Panel])
|
||||
{
|
||||
#Set the BackColor for the container
|
||||
$target.BackColor = $ContainerColor
|
||||
|
||||
}
|
||||
elseif ($target -is [System.Windows.Forms.GroupBox])
|
||||
{
|
||||
$target.FlatStyle = 'Flat'
|
||||
}
|
||||
elseif ($target -is [System.Windows.Forms.Button])
|
||||
{
|
||||
$target.FlatStyle = 'Flat'
|
||||
$target.FlatAppearance.BorderColor = $BorderColor
|
||||
$target.BackColor = $BackColor
|
||||
}
|
||||
elseif ($target -is [System.Windows.Forms.CheckBox] -or
|
||||
$target -is [System.Windows.Forms.RadioButton] -or
|
||||
$target -is [System.Windows.Forms.Label])
|
||||
{
|
||||
#$target.FlatStyle = 'Flat'
|
||||
}
|
||||
elseif ($target -is [System.Windows.Forms.ComboBox])
|
||||
{
|
||||
$target.BackColor = $BackColor
|
||||
$target.FlatStyle = 'Flat'
|
||||
}
|
||||
elseif ($target -is [System.Windows.Forms.TextBox])
|
||||
{
|
||||
$target.BorderStyle = 'FixedSingle'
|
||||
$target.BackColor = $BackColor
|
||||
}
|
||||
elseif ($target -is [System.Windows.Forms.DataGridView])
|
||||
{
|
||||
$target.GridColor = $BorderColor
|
||||
$target.BackgroundColor = $ContainerColor
|
||||
$target.DefaultCellStyle.BackColor = $WindowColor
|
||||
$target.DefaultCellStyle.SelectionBackColor = $SelectionBackColor
|
||||
$target.DefaultCellStyle.SelectionForeColor = $SelectionForeColor
|
||||
$target.ColumnHeadersDefaultCellStyle.BackColor = $ContainerColor
|
||||
$target.ColumnHeadersDefaultCellStyle.ForeColor = $ForeColor
|
||||
$target.EnableHeadersVisualStyles = $false
|
||||
$target.ColumnHeadersBorderStyle = 'Single'
|
||||
$target.RowHeadersBorderStyle = 'Single'
|
||||
$target.RowHeadersDefaultCellStyle.BackColor = $ContainerColor
|
||||
$target.RowHeadersDefaultCellStyle.ForeColor = $ForeColor
|
||||
|
||||
}
|
||||
elseif ($PSVersionTable.PSVersion.Major -le 5 -and $target -is [System.Windows.Forms.DataGrid])
|
||||
{
|
||||
$target.CaptionBackColor = $WindowColor
|
||||
$target.CaptionForeColor = $ForeColor
|
||||
$target.BackgroundColor = $ContainerColor
|
||||
$target.BackColor = $WindowColor
|
||||
$target.ForeColor = $ForeColor
|
||||
$target.HeaderBackColor = $ContainerColor
|
||||
$target.HeaderForeColor = $ForeColor
|
||||
$target.FlatMode = $true
|
||||
$target.BorderStyle = 'FixedSingle'
|
||||
$target.GridLineColor = $BorderColor
|
||||
$target.AlternatingBackColor = $ContainerColor
|
||||
$target.SelectionBackColor = $SelectionBackColor
|
||||
$target.SelectionForeColor = $SelectionForeColor
|
||||
}
|
||||
elseif ($target -is [System.Windows.Forms.ToolStrip])
|
||||
{
|
||||
|
||||
$target.BackColor = $BackColor
|
||||
$target.Renderer = $render
|
||||
|
||||
foreach ($item in $target.Items)
|
||||
{
|
||||
$Queue.Enqueue($item)
|
||||
}
|
||||
}
|
||||
elseif ($target -is [System.Windows.Forms.ToolStripMenuItem] -or
|
||||
$target -is [System.Windows.Forms.ToolStripDropDown] -or
|
||||
$target -is [System.Windows.Forms.ToolStripDropDownItem])
|
||||
{
|
||||
$target.BackColor = $BackColor
|
||||
foreach ($item in $target.DropDownItems)
|
||||
{
|
||||
$Queue.Enqueue($item)
|
||||
}
|
||||
}
|
||||
elseif ($target -is [System.Windows.Forms.ListBox] -or
|
||||
$target -is [System.Windows.Forms.ListView] -or
|
||||
$target -is [System.Windows.Forms.TreeView])
|
||||
{
|
||||
$target.BackColor = $WindowColor
|
||||
}
|
||||
else
|
||||
{
|
||||
$target.BackColor = $BackColor
|
||||
}
|
||||
#endregion
|
||||
|
||||
if ($target -is [System.Windows.Forms.Control])
|
||||
{
|
||||
#Queue all the child controls
|
||||
foreach ($child in $target.Controls)
|
||||
{
|
||||
$Queue.Enqueue($child)
|
||||
}
|
||||
if ($target.ContextMenuStrip)
|
||||
{
|
||||
$Queue.Enqueue($target.ContextMenuStrip);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
$send_Click={
|
||||
|
||||
$regJob = Start-Job -Name regJob -ScriptBlock {Register-PnPEntraIDAppForInteractiveLogin -ApplicationName "$appName_box" -Tenant $tenant_box -Interactive}
|
||||
while ($getRegJob[-1].State =$false)
|
||||
{
|
||||
$getRegJob = Get-Job -Name regJob
|
||||
}
|
||||
$resultsBox.Text = Receive-Job -Job $regJob
|
||||
|
||||
}
|
||||
|
||||
]]></Code>
|
||||
<TV>0</TV>
|
||||
<Mode>1</Mode>
|
||||
<Assemblies />
|
||||
</File>
|
BIN
Misc/Register Az App/regApp.psf.psbuild
Normal file
BIN
Misc/Register Az App/regApp.psf.psbuild
Normal file
Binary file not shown.
38
Sharepoint/gui/Re-Link/reLink.ps1
Normal file
38
Sharepoint/gui/Re-Link/reLink.ps1
Normal file
@ -0,0 +1,38 @@
|
||||
$oldPrefix = "\\Srv75008s\juridique"
|
||||
$newPrefix = "%userprofile%\Skornik\Dossiers utilisateurs - Documents\Juridique"
|
||||
|
||||
#$oldPrefix = "\\srv75008s\Commun"
|
||||
#$newPrefix = "%userprofile%\Skornik\Commun - Documents"
|
||||
|
||||
|
||||
$searchPath = "Z:\juridique"
|
||||
|
||||
$dryRun = $FALSE
|
||||
|
||||
$shell = new-object -com wscript.shell
|
||||
|
||||
if ( $dryRun ) {
|
||||
write-host "Dry run..." -foregroundcolor green -backgroundcolor black
|
||||
} else {
|
||||
write-host "Warning : Real run" -foregroundcolor red -backgroundcolor black
|
||||
}
|
||||
|
||||
dir $searchPath -filter *.lnk -recurse | foreach {
|
||||
$lnk = $shell.createShortcut( $_.fullname )
|
||||
$oldPath= $lnk.targetPath
|
||||
|
||||
$lnkRegex = "^" + [regex]::escape( $oldPrefix )
|
||||
|
||||
if ( $oldPath -match $lnkRegex ) {
|
||||
$newPath = $oldPath -replace $lnkRegex, $newPrefix
|
||||
|
||||
write-host "Found: " + $_.fullname -foregroundcolor yellow -backgroundcolor black
|
||||
write-host " Replace: " + $oldPath
|
||||
write-host " With: " + $newPath
|
||||
|
||||
if ( !$dryRun ) {
|
||||
$lnk.targetPath = $newPath
|
||||
$lnk.Save()
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,14 +0,0 @@
|
||||
20240307 08:51:28: ForEach-Object: C:\Users\SebastienQUEROL\git.azuze.fr\ps-scripts\Sharepoint\gui\spmover\Functions.ps1:43:31 Line | 43 | $Xml.Attributes | ForEach-Object { | ~~~~~~~~~~~~~~~~ | Exception setting "Image": "Cannot convert the "System.Drawing.Bitmap" value of type "System.String" to type "System.Drawing.Image"."
|
||||
20240307 09:27:01: New-Object: C:\Users\SebastienQUEROL\git.azuze.fr\ps-scripts\Sharepoint\gui\spmover\Functions.ps1:33:71 Line | 33 | … ) {$newControl = New-Object System.Windows.Forms.$($Xml.ToString())} | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Cannot find type [System.Windows.Forms.Image]: verify that the assembly containing this type is loaded.
|
||||
20240307 09:28:50: New-Object: C:\Users\SebastienQUEROL\git.azuze.fr\ps-scripts\Sharepoint\gui\spmover\Functions.ps1:33:71 Line | 33 | … ) {$newControl = New-Object System.Windows.Forms.$($Xml.ToString())} | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Cannot find type [System.Windows.Forms.Image]: verify that the assembly containing this type is loaded.
|
||||
20240307 09:34:41: ForEach-Object: C:\Users\SebastienQUEROL\git.azuze.fr\ps-scripts\Sharepoint\gui\spmover\Functions.ps1:43:31 Line | 43 | $Xml.Attributes | ForEach-Object { | ~~~~~~~~~~~~~~~~ | Exception setting "Image": "Cannot convert the "System.Drawing.Bitmap" value of type "System.String" to type "System.Drawing.Image"."
|
||||
20240307 09:34:53: ForEach-Object: C:\Users\SebastienQUEROL\git.azuze.fr\ps-scripts\Sharepoint\gui\spmover\Functions.ps1:43:31 Line | 43 | $Xml.Attributes | ForEach-Object { | ~~~~~~~~~~~~~~~~ | Exception setting "Image": "Cannot convert the "System.Drawing.Bitmap" value of type "System.String" to type "System.Drawing.Image"."
|
||||
20240307 09:38:58: ForEach-Object: C:\Users\SebastienQUEROL\git.azuze.fr\ps-scripts\Sharepoint\gui\spmover\Functions.ps1:43:31 Line | 43 | $Xml.Attributes | ForEach-Object { | ~~~~~~~~~~~~~~~~ | Exception setting "Image": "Cannot convert the "System.Drawing.Bitmap" value of type "System.String" to type "System.Drawing.Image"."
|
||||
20240307 09:40:53: ForEach-Object: C:\Users\SebastienQUEROL\git.azuze.fr\ps-scripts\Sharepoint\gui\spmover\Functions.ps1:43:31 Line | 43 | $Xml.Attributes | ForEach-Object { | ~~~~~~~~~~~~~~~~ | Exception setting "Image": "Cannot convert the "System.Drawing.Bitmap" value of type "System.String" to type "System.Drawing.Image"."
|
||||
20240307 09:41:31: ForEach-Object: C:\Users\SebastienQUEROL\git.azuze.fr\ps-scripts\Sharepoint\gui\spmover\Functions.ps1:43:31 Line | 43 | $Xml.Attributes | ForEach-Object { | ~~~~~~~~~~~~~~~~ | Exception setting "Image": "Cannot convert the "System.Drawing.Image" value of type "System.String" to type "System.Drawing.Image"."
|
||||
20240307 09:44:00: ForEach-Object: C:\Users\SebastienQUEROL\git.azuze.fr\ps-scripts\Sharepoint\gui\spmover\Functions.ps1:43:31 Line | 43 | $Xml.Attributes | ForEach-Object { | ~~~~~~~~~~~~~~~~ | Exception setting "Image": "Cannot convert the "System.Drawing.Bitmap" value of type "System.String" to type "System.Drawing.Image"."
|
||||
20240307 09:44:41: ForEach-Object: C:\Users\SebastienQUEROL\git.azuze.fr\ps-scripts\Sharepoint\gui\spmover\Functions.ps1:43:31 Line | 43 | $Xml.Attributes | ForEach-Object { | ~~~~~~~~~~~~~~~~ | Exception setting "Image": "Cannot convert the "System.Drawing.Bitmap" value of type "System.String" to type "System.Drawing.Image"."
|
||||
20240307 09:45:56: ForEach-Object: C:\Users\SebastienQUEROL\git.azuze.fr\ps-scripts\Sharepoint\gui\spmover\Functions.ps1:43:31 Line | 43 | $Xml.Attributes | ForEach-Object { | ~~~~~~~~~~~~~~~~ | Exception setting "Image": "Cannot convert the "System.Drawing.Bitmap" value of type "System.String" to type "System.Drawing.Image"."
|
||||
20240307 09:47:04: ForEach-Object: C:\Users\SebastienQUEROL\git.azuze.fr\ps-scripts\Sharepoint\gui\spmover\Functions.ps1:43:31 Line | 43 | $Xml.Attributes | ForEach-Object { | ~~~~~~~~~~~~~~~~ | Exception setting "Image": "Cannot convert the "System.Drawing.Bitmap" value of type "System.String" to type "System.Drawing.Image"."
|
||||
20240307 09:48:25: ForEach-Object: C:\Users\SebastienQUEROL\git.azuze.fr\ps-scripts\Sharepoint\gui\spmover\Functions.ps1:43:31 Line | 43 | $Xml.Attributes | ForEach-Object { | ~~~~~~~~~~~~~~~~ | Exception calling "Add" with "2" argument(s): "Item has already been added. Key in dictionary: 'lbl_byWho' Key being added: 'lbl_byWho'"
|
||||
20240307 11:16:28: InvalidOperation: Line | 45 | $Script:refs['btn_Start'].Add_Click($eventSB['btn_Start'].Cli … | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Cannot index into a null array.
|
Loading…
x
Reference in New Issue
Block a user