This file contains hidden or 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
| [CmdletBinding()] | |
| param () | |
| # Function to get the latest version and download URL of Adobe Acrobat Reader DC | |
| function Get-AdobeAcrobatReaderDCUrls { | |
| [CmdletBinding()] | |
| param () | |
| # URL of the Adobe Acrobat Reader DC release notes page | |
| $apiUrl = 'https://helpx.adobe.com/acrobat/release-note/release-notes-acrobat-reader.html' |
This file contains hidden or 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
| # Copyright: (c) 2026, Jordan Borean (@jborean93) <jborean93@gmail.com> | |
| # MIT License (see LICENSE or https://opensource.org/licenses/MIT) | |
| <# | |
| NOTE: Must be run in Windows PowerShell (5.1), PowerShell (7+) cannot create standalone exes. | |
| This is designed to create a simple exe that can be used to spawn any console | |
| application with a hidden Window. As NoGui.exe is a GUI executable it won't | |
| spawn with an associated console window and can be used to then create a new | |
| process with a hidden console window with the arguments it was created with. |
This file contains hidden or 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 version="1.0" encoding="UTF-8" standalone="yes"?> | |
| <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> | |
| <assemblyIdentity version="1.0.0.0" | |
| processorArchitecture="X86" | |
| name="Example_App.exe" | |
| type="win32"/> | |
| <description>elevate execution level</description> | |
| <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> | |
| <security> | |
| <requestedPrivileges> |
This file contains hidden or 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
| ## Commonly used PSADT env variables | |
| $envCommonDesktop # C:\Users\Public\Desktop | |
| $envCommonStartMenuPrograms # C:\ProgramData\Microsoft\Windows\Start Menu\Programs | |
| $envProgramFiles # C:\Program Files | |
| $envProgramFilesX86 # C:\Program Files (x86) | |
| $envProgramData # c:\ProgramData | |
| $envUserDesktop # c:\Users\{user currently logged in}\Desktop | |
| $envUserStartMenuPrograms # c:\Users\{user currently logged in}\AppData\Roaming\Microsoft\Windows\Start Menu\Programs | |
| $envSystemDrive # c: | |
| $envWinDir # c:\windows |