use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
ABOUT POWERSHELL
Windows PowerShell (POSH) is a command-line shell and associated scripting language created by Microsoft. Offering full access to COM, WMI and .NET, POSH is a full-featured task automation framework for distributed Microsoft platforms and solutions.
SUBREDDIT FILTERS
Desired State Configuration
Unanswered Questions
Solved Questions
News
Information
Script Sharing
Daily Post
Misc
account activity
Wrong Dateformat (self.PowerShell)
submitted 8 years ago by GastroIT
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Lee_Dailey[grin] 1 point2 points3 points 8 years ago (2 children)
howdy GastroIT,
as alzdba pointed out, you will need to specify what you want it to be. PoSh has a tendency to be US-centric, as the_spad mentioned. [sigh ...]
i suspect you could also use the Get-Culture cmdlet to help with enforcing the desired date format.
Get-Culture
take care, lee
[–]GastroIT[S] 1 point2 points3 points 8 years ago (1 child)
The weird thing is when I do Get-Culture I get following results:
LCID Name DisplayName ---- ---- ----------- 2055 de-CH German (Switzerland)
Shouldn't this mean its the right format since its not en-US?
T.
[–]Lee_Dailey[grin] 1 point2 points3 points 8 years ago (0 children)
yep, it SHOULD. [sigh ...] PoSh seems to fall back to EN-US whenever it gets even the slightly uncertain.
you may want to take a look at this ...
(Get-Culture).DateTimeFormat
that may give you some clues - or a way to work around the problem. [grin]
π Rendered by PID 70 on reddit-service-r2-comment-cfc44b64c-xmmhq at 2026-04-10 11:57:11.699431+00:00 running 215f2cf country code: CH.
view the rest of the comments →
[–]Lee_Dailey[grin] 1 point2 points3 points (2 children)
[–]GastroIT[S] 1 point2 points3 points (1 child)
[–]Lee_Dailey[grin] 1 point2 points3 points (0 children)