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
Show hidden characters
| { | |
| "installed_packages": | |
| [ | |
| "AngularJS", | |
| "Enhanced Clojure", | |
| "FileBrowser", | |
| "Git", | |
| "Highlight Whitespaces", | |
| "HTML5", | |
| "Jasmine BDD", |
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
| $ServerName = $args[0] | |
| if ($serverName -eq $Null) { | |
| $serverName= $env:COMPUTERNAME | |
| } | |
| $timeVal = (Get-WmiObject -ComputerName $ServerName -Query "SELECT LastBootUpTime FROM Win32_OperatingSystem").LastBootUpTime | |
| #$timeVal | |
| $DbPoint = [char]58 | |
| $Years = $timeVal.substring(0,4) | |
| $Months = $timeVal.substring(4,2) | |
| $Days = $timeVal.substring(6,2) |
OlderNewer