Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,26 @@
|
|||
Module CheckIt {
|
||||
\\ using read only variablles
|
||||
Print "Platform: ";Platform$
|
||||
Print "Computer Os: "; Os$
|
||||
Print "Type of OS: ";OsBit;" bit"
|
||||
Print "Computer Name:"; Computer$
|
||||
Print "User Name: "; User.Name$
|
||||
\\ using WScript.Shell
|
||||
Declare objShell "WScript.Shell"
|
||||
With objShell, "Environment" set env ("Process")
|
||||
With env, "item" as Env$()
|
||||
Print Env$("PATH")
|
||||
Print Env$("HOMEPATH")
|
||||
Declare objShell Nothing
|
||||
\\ using internal Information object
|
||||
Declare OsInfo INFORMATION
|
||||
With OsInfo, "build" as build, "NtDllVersion" as NtDllVersion$
|
||||
Method OsInfo, "GetCurrentProcessSID" as PID$
|
||||
Method OsInfo, "IsProcessElevated" as isElevated
|
||||
Print "Os build number: ";build
|
||||
Print "Nr Dll version: ";NtDllVersion$
|
||||
Print "ProcessSID: ";pid$
|
||||
Print "Is Process Eleveted: ";isElevated
|
||||
Declare OsInfo Nothing
|
||||
}
|
||||
Checkit
|
||||
Loading…
Add table
Add a link
Reference in a new issue