Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. PS C:\Users\JimmyCater> ipconfig /all Windows IP Configuration Host Name . . . . . . . . . . . . : Docker2019 Primary Dns Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Hybrid IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No DNS Suffix Search List. . . . . . : u5dtxjikcnhuvdxr1ewys02vbg.bx.internal.cloudapp.net Ethernet adapter Ethernet: Connection-specific DNS Suffix . : u5dtxjikcnhuvdxr1ewys02vbg.bx.internal.cloudapp.net Description . . . . . . . . . . . : Microsoft Hyper-V Network Adapter Physical Address. . . . . . . . . : 00-0D-3A-98-3F-2B DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::95e4:3e4a:bb55:f202%3(Preferred) IPv4 Address. . . . . . . . . . . : 10.0.0.4(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Lease Obtained. . . . . . . . . . : Thursday, May 7, 2020 6:48:39 PM Lease Expires . . . . . . . . . . : Monday, June 14, 2156 3:39:13 AM Default Gateway . . . . . . . . . : 10.0.0.1 DHCP Server . . . . . . . . . . . : 168.63.129.16 DHCPv6 IAID . . . . . . . . . . . : 100666682 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-26-42-74-64-00-0D-3A-98-3F-2B DNS Servers . . . . . . . . . . . : 168.63.129.16 NetBIOS over Tcpip. . . . . . . . : Enabled Ethernet adapter vEthernet (nat): Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter Physical Address. . . . . . . . . : 00-15-5D-C5-5E-9E DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::4150:42a0:a924:c524%9(Preferred) IPv4 Address. . . . . . . . . . . : 172.31.112.1(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.240.0 Default Gateway . . . . . . . . . : DHCPv6 IAID . . . . . . . . . . . : 151000413 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-26-42-74-64-00-0D-3A-98-3F-2B DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1 fec0:0:0:ffff::2%1 fec0:0:0:ffff::3%1 NetBIOS over Tcpip. . . . . . . . : Enabled PS C:\Users\JimmyCater> ls env:\ Name Value ---- ----- ALLUSERSPROFILE C:\ProgramData APPDATA C:\Users\JimmyCater\AppData\Roaming CLIENTNAME MININT-3P11A17 CommonProgramFiles C:\Program Files\Common Files CommonProgramFiles(x86) C:\Program Files (x86)\Common Files CommonProgramW6432 C:\Program Files\Common Files COMPUTERNAME Docker2019 ComSpec C:\windows\system32\cmd.exe DriverData C:\Windows\System32\Drivers\DriverData HOMEDRIVE C: HOMEPATH \Users\JimmyCater LOCALAPPDATA C:\Users\JimmyCater\AppData\Local LOGONSERVER \\Docker2019 NUMBER_OF_PROCESSORS 2 OS Windows_NT Path C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\w... PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL PROCESSOR_ARCHITECTURE AMD64 PROCESSOR_IDENTIFIER Intel64 Family 6 Model 85 Stepping 4, GenuineIntel PROCESSOR_LEVEL 6 PROCESSOR_REVISION 5504 ProgramData C:\ProgramData ProgramFiles C:\Program Files ProgramFiles(x86) C:\Program Files (x86) ProgramW6432 C:\Program Files PSModulePath C:\Users\JimmyCater\Documents\WindowsPowerShell\Modules;C:\P... PUBLIC C:\Users\Public SESSIONNAME RDP-Tcp#3 SystemDrive C: SystemRoot C:\windows TEMP C:\Users\JimmyCater\AppData\Local\Temp\2 TMP C:\Users\JimmyCater\AppData\Local\Temp\2 USERDOMAIN Docker2019 USERDOMAIN_ROAMINGPROFILE Docker2019 USERNAME JimmyCater USERPROFILE C:\Users\JimmyCater windir C:\windows PS C:\Users\JimmyCater> ls hklm:\ Hive: HKEY_LOCAL_MACHINE Name Property ---- -------- BCD00000000 HARDWARE SAM ls : Requested registry access is not allowed. At line:1 char:1 + ls hklm:\ + ~~~~~~~~~ + CategoryInfo : PermissionDenied: (HKEY_LOCAL_MACHINE\SECURITY:String) [Get-Chi ldItem], SecurityException + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands .GetChildItemCommand SOFTWARE SYSTEM PS C:\Users\JimmyCater> ls hkcu:\ Hive: HKEY_CURRENT_USER Name Property ---- -------- AppEvents Console ColorTable00 : 789516 ColorTable01 : 14300928 ColorTable02 : 958739 ColorTable03 : 14521914 ColorTable04 : 2035653 ColorTable05 : 9967496 ColorTable06 : 40129 ColorTable07 : 13421772 ColorTable08 : 7763574 ColorTable09 : 16742459 ColorTable10 : 837142 ColorTable11 : 14079585 ColorTable12 : 5654759 ColorTable13 : 10354868 ColorTable14 : 10875385 ColorTable15 : 15921906 CtrlKeyShortcutsDisabled : 0 CursorColor : 4294967295 CursorSize : 25 EnableColorSelection : 0 ExtendedEditKey : 1 ExtendedEditKeyCustom : 0 FaceName : __DefaultTTFont__ FilterOnPaste : 1 FontFamily : 0 FontSize : 1048576 FontWeight : 0 ForceV2 : 1 FullScreen : 0 HistoryBufferSize : 50 HistoryNoDup : 0 InsertMode : 1 LineSelection : 1 LineWrap : 1 LoadConIme : 1 NumberOfHistoryBuffers : 4 PopupColors : 245 QuickEdit : 1 ScreenBufferSize : 589889656 ScreenColors : 7 ScrollScale : 1 TrimLeadingZeros : 0 WindowAlpha : 255 WindowSize : 1966200 WordDelimiters : 0 Control Panel SettingsExtensionAppSnapshot : {0, 0, 0, 0...} Environment Path : C:\Users\JimmyCater\AppData\Local\Microsoft\WindowsApps; TEMP : C:\Users\JimmyCater\AppData\Local\Temp TMP : C:\Users\JimmyCater\AppData\Local\Temp EUDC Keyboard Layout Network Printers Software System Remote Volatile Environment LOGONSERVER : \\Docker2019 USERDOMAIN : Docker2019 USERNAME : JimmyCater USERPROFILE : C:\Users\JimmyCater HOMEPATH : \Users\JimmyCater HOMEDRIVE : C: APPDATA : C:\Users\JimmyCater\AppData\Roaming LOCALAPPDATA : C:\Users\JimmyCater\AppData\Local USERDOMAIN_ROAMINGPROFILE : Docker2019 PS C:\Users\JimmyCater> Get-psdrive Name Used (GB) Free (GB) Provider Root Curre ntLoc ation ---- --------- --------- -------- ---- ----- Alias Alias C 17.08 109.43 FileSystem C:\ ...er Cert Certificate \ D 1.93 14.07 FileSystem D:\ Env Environment Function Function HKCU Registry HKEY_CURRENT_USER HKLM Registry HKEY_LOCAL_MACHINE Variable Variable WSMan WSMan PS C:\Users\JimmyCater> Get-LocalUser Name Enabled Description ---- ------- ----------- DefaultAccount False A user account managed by the system. Guest False Built-in account for guest access to the computer/domain JimmyCater True Built-in account for administering the computer/domain WDAGUtilityAccount False A user account managed and used by the system for Windows Defend... PS C:\Users\JimmyCater> New-LocalUser cmdlet New-LocalUser at command pipeline position 1 Supply values for the following parameters: Name: JimmyCater Password: ************* PS C:\Users\JimmyCater> New-LocalUser cmdlet New-LocalUser at command pipeline position 1 Supply values for the following parameters: Name: AshmiSinha Password: ************* Name Enabled Description ---- ------- ----------- AshmiSinha True PS C:\Users\JimmyCater> Get-LocalUser Name Enabled Description ---- ------- ----------- AshmiSinha True DefaultAccount False A user account managed by the system. Guest False Built-in account for guest access to the computer/domain JimmyCater True Built-in account for administering the computer/domain WDAGUtilityAccount False A user account managed and used by the system for Windows Defend... PS C:\Users\JimmyCater> Get-LocalUser | select name, sid Name SID ---- --- AshmiSinha S-1-5-21-3055749736-4236562608-2042187045-1001 DefaultAccount S-1-5-21-3055749736-4236562608-2042187045-503 Guest S-1-5-21-3055749736-4236562608-2042187045-501 JimmyCater S-1-5-21-3055749736-4236562608-2042187045-500 WDAGUtilityAccount S-1-5-21-3055749736-4236562608-2042187045-504