Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?
Compare cell phone plans using Wirefly's innovative plan comparison tool ×

Comment Re:How does it compare? (Score 1) 400

Because we can expect that in powershell the output of one command is immediately useful as the input of another. Something that typically can't be done with a text based shell. Instead of "run command", "parse output into usable form of input" "run next command" You can skip that 2nd step.

It speeds of script development and allows you to have vastly superior filtering and control of the data without the middle men.

Comment Re:How does it compare? (Score 1) 400

I don't think you understand me. I was a solaris and redhat admin for over a decade before moving to windows. I know what we can do with a *nix shell. Powershell has abilities that are down right hard to match simple because you are not working with text, you are working with powershell objects. This means input and output from all cmdlets is instantly usable.

Example, let's say I need to get a list of users out of active directory that have not accessed the system in the last 30 days and deactivate them.

Search-ADAccount -AccountInactive -TimeSpan 30.00:00:00 | where {$_.ObjectClass -eq 'user'} | Disable-ADAccount

I don't need to try to deal with the output of these commands as text. I can simply trust that the object put out by each command is compatible with every other command.

Let's take it a little further. I run vmware and I have developers who abandon test machines. I have installed the vmware powercli extensions to powershell. I now want to find machines that are inactive in my network and straight up delete them from vmware. These machines are 90 days inactive.

(assuming I've already issued the command to connect to my vmware environment)
$lastSetdate = [DateTime]::Now - [TimeSpan]::Parse("90")
$computersToDelete = Get-ADComputer -Filter {PasswordLastSet -le $lastSetdate} -SearchBase “OU=Dev,OU=Servers,DC=mylab,DC=com”
$computersToDelete | Remove-ADComputer
Get-VM $computersToDelete | Remove-VM

You combine this with tools like DSC and you have a very powerful toolset to manage your environment. No need for puppet and no need to try to string a bunch of random exes with their own input and output together to do something interesting. Also, because it is .NET I can do anything with it that .NET can do (for better or worse).

*Note, these scripts were written on the fly without testing, they may contain errors*

Comment Re:The Theater Experience (Score 2) 331


I have a 65inch 4K screen at home, my favorite recliner, and the ability to pause and take a piss. Why would I ever want to spend 20 bucks on popcorn and 15 bucks on a ticket to sit with the rabble and watch a movie I can't pause? Not to mention the filth, noise, and other garbage. Miss a moment? Too bad! You can't rewind! Drank that coke too fast? Well I hope you don't mind missing 5 minutes of that film. Don't worry though you can just talk over it when you get back to find out what you missed!

Comment Re:I wonder (Score 0) 202

I didn't say it was a good idea, I told you how you might store power to use it when the panel was not generating power. I didn't realize this was such a personal issue for you. Please, from the bottom of my heart. I am sorry for the stress and anger caused by my inflammatory suggestion. I hope that one day in the future we can meet and I can hug you and after a short cry we can both realize that this road wasn't worth it.

Comment Re:You have to know how to secure a Windows 10 PC (Score 4, Interesting) 982

Honestly, and this is not scientific, but windows 10 'feels' faster on my PC than windows 7. I also find it visually more appealing. It also has a smaller footprint. Lastly the pace of change and some of the nice features coming down the pipe makes it worth it (ubuntu, path limits, etc). Server manager and powershell features are very nice as well as an admin.

I really like windows 10. Before this I was a die hard OSX guy simply because linux on the desktop still required me to tinker too much to keep my laptop happy. I got a surface pro 3 with windows 10 for work and it and now I'm hooked.

Comment Re:I did this a year ago. (Score 2) 113

I took a different approach. I installed a playon server. Pointed it at free streams from CBS, NBC, etc as well as paid streams like Hulu and have it make them available on demand via my roku devices. Plus for shows that are of limited availability or commercial overflowed I have the playon server record the episode and play it back at my convince.

So my cable bill has been reduced to a HBO, Hulu, Free streaming from the networks, and amazon prime subscriptions (I'd have amazon prime either way though).

Slashdot Top Deals

We can found no scientific discipline, nor a healthy profession on the technical mistakes of the Department of Defense and IBM. -- Edsger Dijkstra