.tar archive structure
phone.tar
| `vpn.cnf` main configuration
| `keys` keys folder
\
| `ca.crt` CA certificate
| `phonecert.crt` Phone certificate
| `phonekey.key` Phone key
param ( | |
[Parameter()] | |
[int]$BackupTaskBar | |
) | |
Add-Type -AssemblyName System.Windows.Forms | |
Add-Type @" | |
using System; | |
using System.Runtime.InteropServices; | |
public class Win32 { |
<Configuration> | |
<VGpu>Enable</VGpu> | |
<Networking>Enable</Networking> | |
<AudioInput>Disable</AudioInput> | |
<VideoInput>Disable</VideoInput> | |
<PrinterRedirection>Disable</PrinterRedirection> | |
<ProtectedClient>Enable</ProtectedClient> | |
<ClipboardRedirection>Enable</ClipboardRedirection> | |
<MemoryInMB>2048</MemoryInMB> | |
<MappedFolders> |
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\Applications\photoviewer.dll] | |
[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell] | |
[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open] | |
"MuiVerb"="@photoviewer.dll,-3043" | |
[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open\command] |
error_page 403 =200 /virtual403.html; | |
location = /virtual403.html { | |
add_header Content-Type text/plain; | |
root /data/nginx/default_www; | |
return 200 '<h1>It works!</h1>'; | |
} |
"quiet intel_iommu=on iommu=pt pcie_acs_override=downstream,multifuntion │ nofb nomodeset" |
.tar archive structure
phone.tar
| `vpn.cnf` main configuration
| `keys` keys folder
\
| `ca.crt` CA certificate
| `phonecert.crt` Phone certificate
| `phonekey.key` Phone key
1. SHIFT + F10 | |
2. regedit | |
3. HKEY_LOCAL_MACHINE\SYSTEM\Setup | |
4. LabConfig (KEY) | |
5. BypassTPMCheck, BypassSecureBootCheck, BypassRAMCheck (DWORD 1) |
Set-VpnConnectionIPsecConfiguration -ConnectionName "Your VPN Name" -AuthenticationTransformConstants SHA256128 -CipherTransformConstants AES128 -DHGroup Group14 -EncryptionMethod AES128 -IntegrityCheckMethod SHA256 -PFSgroup PFS2048 -Force | |
(...) | |
add_action( 'wp_enqueue_scripts', array( $this, 'preload_styles' ), 1 ); | |
add_action( 'admin_enqueue_scripts', array( $this, 'preload_styles' ), 1 ); | |
add_action( 'login_enqueue_scripts', array( $this, 'preload_styles' ), 1 ); | |
(...) |
Get-DistributionGroup -ResultSize Unlimited |Select-Object DisplayName,PrimarySmtpAddress, @{Name="EmailAddresses";Expression={$_.EmailAddresses |Where-Object {$_.PrefixString -ceq "smtp"} | ForEach-Object {$_.SmtpAddress}}} | Export-Csv group-addresses.csv |