I hereby claim:
- I am jonathanmorley on github.
 - I am jonmorley (https://keybase.io/jonmorley) on keybase.
 - I have a public key whose fingerprint is 78B5 5AA7 D8DF 2DD1 F113 5BEF 18E1 4BEA D14A 5636
 
To claim this, I am signing this object:
| @rem *** Disable Some Service *** | |
| sc stop DiagTrack | |
| sc stop diagnosticshub.standardcollector.service | |
| sc stop dmwappushservice | |
| sc stop WMPNetworkSvc | |
| sc stop WSearch | |
| sc config DiagTrack start= disabled | |
| sc config diagnosticshub.standardcollector.service start= disabled | |
| sc config dmwappushservice start= disabled | 
| $log = "C:\winrm.log" | |
| $http_port = 5985 | |
| $https_port = 5986 | |
| $appid = '{afebb9ad-9b97-4a91-9ab5-daf4d59122f6}' | |
| "winrm_setup started" | tee $log | |
| # Does everything required for WinRM over HTTP. It also starts and enables the WinRM service | |
| "Using quickconfig to setup WinRM over HTTP" | tee -Append $log | |
| &winrm quickconfig -quiet | 
| require 'highline/import' | |
| require 'winrm' | |
| endpoint = 'http://localhost:5985/wsman' | |
| winrm = WinRM::WinRMWebService.new(endpoint, :negotiate, user: 'vagrant', pass: 'vagrant') | |
| winrm.create_executor do |executor| | |
| loop do | |
| executor.run_powershell_script(ask "PS ...> ") do |stdout, stderr| | |
| STDOUT.print stdout | |
| STDERR.print stderr | 
I hereby claim:
To claim this, I am signing this object:
$ uname –a                          # Display linux system information
$ uname –r                          # Display kernel release information (refer uname command in detail)
$ hostname                          # Show system host name
$ hostname -i                       # Display the IP address of the host (all options hostname)
$ uptime                            # Show how long system running + load (learn uptime command)
$ last reboot                       # Show system reboot history (more examples last command)
$ cat /etc/redhat_release           # Show which version of redhat installed 
$ date # Show the current date and time (options of date command)
See Also:
| Level | Score | Regex | Credit | 
|---|