Created
April 21, 2020 06:17
-
-
Save Trumeet/5b36d7af84c73160f110b27d4e759db0 to your computer and use it in GitHub Desktop.
Maybe a winver.exe replacement? (DEMO)
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
$ShellAbout = @' | |
[DllImport("Shell32.dll")] | |
public static extern int ShellAbout(IntPtr hwnd, string szApp, string szOtherStuff, IntPtr hIcon); | |
'@ | |
$Shell32 = Add-Type -MemberDefinition $ShellAbout -Name 'Shell32' -Namespace 'Shell32' -PassThru | |
$Shell32::ShellAbout(0, "Windows", "", 0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment