Sign PowerShell CmdLet
Set-ExecutionPolicy
AllSigned –Force
Get a certificate from the local storage as a separate object for the
current user:
$cert = (Get-ChildItem
cert:\CurrentUser\my –CodeSigningCert)[0]
Then sign the script using this certificate:
Set-AuthenticodeSignature
-Certificate $cert -FilePath C:\PS\testscript.ps1
Windows 10 Resource Kit
signtool sign /fd SHA256 /p password /f richlemmermann_2023.pfx RunMeAsSomeOneElseToo.exe
X.500 OID Generation VB Script
https://gallery.technet.microsoft.com/scriptcenter/X500-OID-Generation-VB-0228e242
Export File Shares and their permissions
From the HKEY_LOCAL_MACHINE subtree, go to the following key:
SYSTEM\CurrentControlSet\Services\LanmanServer\Shares
https://support.microsoft.com/en-us/help/125996/saving-and-restoring-existing-windows-shares?wa=wsignin1.0
.
Install .NET 3.5 with Source
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:d:\sources\sxs
Keystore in Windows Credential Manager
cmdkey /generic:"<server>" /user:"<user>" /pass:"<pass>"
Uninstall IE10
FORFILES /P %WINDIR%\servicing\Packages /M
Microsoft-Windows-InternetExplorer-*10.*.mum /c "cmd /c echo
Uninstalling package @fname && start /w pkgmgr /up:@fname /quiet
/norestart"