You are here

Error message

  • Deprecated function: Array and string offset access syntax with curly braces is deprecated in include_once() (line 20 of /home/benjfc5/public_html/main/includes/file.phar.inc).
  • Deprecated function: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in include_once() (line 1387 of /home/benjfc5/public_html/main/includes/bootstrap.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6612 of /home/benjfc5/public_html/main/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6612 of /home/benjfc5/public_html/main/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6612 of /home/benjfc5/public_html/main/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6612 of /home/benjfc5/public_html/main/includes/common.inc).
  • Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /home/benjfc5/public_html/main/includes/common.inc).

Monthly archive

PowerShell With Uptime - Getting Days Only

There is a handy and free tool to check your system's uptime called "Uptime".  (Clever, no?)  It can be downloaded at http://uptimeexe.codeplex.com.

While it is very easy to use (just navigate to it in a command window and type "uptime"), it doesn't give much of an option for formatting the output to include only the days.  So, a simple workaround is to use some "replace" commands within PowerShell and only output the number of days.  Here's how:

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
7 + 2 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer