Mr. @RyanRies, [or any other PS people] would you have time for a Powershell question? It a bit [perhaps] esoteric/useless, so I'm avoiding the main site.
A simple Get-Date will return a DateTime object. But Get-Date -F 'Y' will return a String. Which of the following is preferable, and is there any "real" difference in casting vs calling a cmdlet to convert the String Examples follow:
# Both examples return 'DateTime'
# Using the cmdlet
Get-Date (Get-Date -f 'Y')
# Using a cast
[DateTime] (Get-Date -f 'Y')
I don't think there's much of a difference unless you explicitly need a datetime or a string, like if you were to then insert it into a column in SQL that's cast as datetime, for example
Warning: Now you enter an all-command mode for developer's testing, some commands may affect operation by wrong use, please carefully use it with our engineer's direction.
@pauska I make enough money that my tax dollars are juicy, but not enough that I know how to hide them in overseas funds and banks. So, I think they'll let me stay a while longer.
@ScottPack Good. I actually am not scheduled at a client for another couple of weeks, so I'm learning SCOM (as @pauska and I are talking about). We hired three new engineers for my team and they're starting to get out into the field, so I can finally breathe
$LargeHealthcareOrg that I did some Orchestrator/SCSM work for a while ago had the Veeam MPs and they're fucking dope. Datastores, clusters, VMs, datacenters, etc all monitorable
Today is the first day since Friday that I haven't worn gym shorts or sweat pants. I'm dressed like a normal human. I think my wife will be happy when she gets home.
@ScottPack in my defense I had the flu Sun-Tue and still had to work so I was basically propped up in front of my computer with 4 blankets and a box of dayquil capsuls
@jscott I would prefer that you keep it as a DateTime object so I can continue to do useful things with that object, such as measure timespans, do datetime arithmetic, etc.. As a string, it's pretty useless to me until I convert it back into a DateTime.
@RyanRies Oh I agree on keep it as DateTime. I was curious if there's any functional (or otherwise interesting) difference between casting a returned String to DateTime, vs using the Get-Date cmdlet to perform the String-to-DateTime process.
HIPAA and FERPA basically are like "HAHA YOU HAVE TO DO SOME SHIT BUT WE WONT REALLY TELL YOU WHAT BUT IF THERE'S A BREACH YOU'RE SCREWED. MAYBE. WE DON'T KNOW LOLOL"
@ChrisS Yeah, it's fun. Any kid with mild interest, reading comprehension, and a backtrack image can do it. I've been hollering about it for a while but... what do.
We just started getting serious about HIPAA compliance, and they're disabling the 'guest' wifi because it's insecure. They're asking if there's any other 'guest' connections on our network. Really the 'guest' connection was WEP with a weak key, vs WEP with a strong key. Wonder if I should bitch about WEP in general or let it slide.
WEP, WPA, WPA2... All suffer from the same problem. Some idiot took a perfectly good encryption algorithm and figured it would just "do" everything necessary.. That they didn't need to think about how the algorithm is used.
A week or two ago, there were lots of articles with people claiming that the rng in Intel CPUs that supposedly use temp and other ambient conditions to generate random numbers was tainted by the NSA
And judging by some of the questions @FalconMomot was asking in here and on SO a few weeks ago, I'd imagine he's probably working on figuring out of this is true or not.
We are excited to announce that in 2014, we’re bringing together the best of TechEd and MMS at TechEd North America in Houston, TX, May 12–15. We will continue to provide these two powerful communities with the rich experience and deep technical content they expect, while expanding the opportunities to interact with other professionals across the breadth of Microsoft technologies
I currently have a CentOS 6 Cloud server (2gigs of ram, 40gigs of SSD storage, 2.4ghz quad core, and 100M unmetered port for bandwidth) that has in the past run a TeamSpeak, Minecraft FTB (modded version) server, and web site with no slowdowns.
At this time, I have it running ONLY a basic web se...
Trying to run a database copy...and it fails at a stored procedure with Transaction (Process ID 58) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.". ...okay...