Direct MP3 Download: Geeksters #147 – Raspberry pi Part Duex
Martin Obando, Tim Bowermeister, and Mitch Haman talk about computer repair
Episode 147 Show Notes
Title — Rapsberry pi Part Duex
Hosts:
Tim Bowermeister
Mitch Haman
Martin Obando
* Quickly setup PXE booting to install any Windows OS or PXE boot linux, etc. with SERVA!
* AOMEI PXE Boot
* Malware Hunting with Mark Russinovich and the Sysinternals Tools
* Millennium Falcon drone is the coolest hunk of junk in our galaxy
* RASPBERRY PI 2 GOES ON SALE, INCLUDES A QUAD-CORE ARMV7 CPU
* Microsoft to support Raspberry Pi 2 with a free version of Windows 10
*********************
E-mail
Hi folks! I remember listening to one of the podcasts about PXE Boot servers
and thought I could share some info.
I am mostly a windows users so I wish to mention some PXE boot servers for
windows that also happen to be free.
The first option I know of is a program called
SERVA(http://www.vercot.com/~ serva/default.html) its a multifunction DHCP,
HTTP,TFTP etc program that comes in free and commerial versions, with it you
can run a PXE Boot server in windows even with the free version, the process
of setting up the PXE boot server is somewhat involved but may be worth it to
learn how things work.
There is a great tutorial available
(http://www.rmprepusb.com/ tutorials/serva) that simplifies this a lot. Also
because Serva supports Proxy DHCP you can run this PXE boot program without
needing to mess with your current DHCP server settings! I should mention that
the PXE Boot server you create with the free version of Serva will time out
after one hour.
There is another PXE server program available that is very basic but is both
free and very easy to use. Its from Aomeitech
(5MB)(http://www.aomeitech. com/pxe/pxe-boot-software.html ) that you had
mentioned before. Its only available for windows but its very easy to use you
just run the program and select an ISO that you want the clients to run.
Unfortunately it only supports one ISO at a time.
I am a long time listener and hope the podnutz network will only go from
strength to strength.
—
Richard
Then I suppose, I can write in with more stuff.
Actually I have been meaning to write in, it has just been busy.
Yes, I still use my script to remove old computer accounts from Active Directory.
Yes I am also working on one for user accounts.
Yes these are semi specific to my Active Directory infrastructure, but I work to make the scripts generic enough to share.
So with all of that out of the way, I wanted to mention something about the script I wrote. I wrote that rather long script, because I needed to act upon the Operating System for reporting, which is a value any Microsoft Windows machine will populate when it joins to the domain. At some point however this field will blank itself out if the machine does not report within a specific time frame.
However, for those of you wanting to play with PowerShell, you should know there is a better cmdlet (“Command-Let”) for just finding inactive accounts of both computers and users that is already baked in to the Active Directory for PowerShell module.
Search-ADAccount
Technet Link : https://technet.microsoft.com/ en-us/library/ee617247.aspx
SS64.com Link : http://ss64.com/ps/search- adaccount.html
So with this cmdlet, if you just wanted to find computers that are considered inactive by 30 days, you could just use the following :
Search-ADAccount -ComputersOnly -AccountInactive 30
if you wanted user accounts :
Search-ADAccount -UserOnly -AccountInactive 30
You can then pipe this around to do various other things with it if you needed to.
So that is more about PowerShell and Active Directory, another item I wanted to talk about was the NTFS permissions. As of course, there are PowerShell methods for dealing with that. However I would mention that sometimes these get frustrating to figure out. Just reporting them, is simple, editing them can take a little more digging. I’ve only been aware of this because I setup scripts to create new department drives and set permissions on them, and to validate and reset permissions on them over time. I tend to use my scripts, as my documents about how my environment is created and maintained.
Playing with NTFS permissions you would probably just want to do the following for reporting:
Get-Acl PATHTOFILEorFOLDER | Out-GridView
That of course just does a single file or folder, but you can script all around that to gather more.
Get-ChildItem | Get-Acl | Out-GridView
What the above command is doing, is 3 separate cmdlets, but piped to each other.
Get-ChildItem is like the batch version of ‘dir’ or the Linux version of ‘ls’ (list). It then takes all the results of that and pipes it to the Get-Acl.
Get-Acl is just getting the Access Control List of everything being sent to it, and then throwing that down the pipe to Out-GridView
Out-GridView is just a friendlier way to look at some things PowerShell does, and it gives you a filtering option on the top to work with for just quickly looking at some data.
Instead of to Out-GridView you could keep things as variables, or pipe them through other things to work on them as you needed to.
Obviously, I enjoy working in PowerShell too much, but it really is the way to manage Windows systems going forward, especially in enterprise environments. If you want more explanations, examples, or anything else to deal with in PowerShell let me know, I’d love to poke around the idea and help out. For those interested in learning more about PowerShell on their own I would invite them to the PowerShell.org website which contains helpful forums, free e-books on PowerShell and PowerShell DSC, and a podcast called the PowerScripting Podcast with Jon Walz and Hal Rottenberg at least one of which is a PowerShell MVP, and they have a lot of hooks in the that community for their podcast. Another good spot for beginners is Hey Scripting Guy blog by Ed Wilson located athttp://blogs.technet.com/b/ heyscriptingguy/ where he puts some something about PowerShell almost daily and they can be both in-depth items, or just general first timer questions.
Sorry for just splatting my consciousness at you, but if I did not just sit down and do so then it may have never been said.
I will now go spend hours at this Cybrary you mentioned because it seems interesting.
As always, keep on being awesome, I love the Geeksters show, thank you for sharing so much information, and being one of the most interesting trio of hosts in the podcasting world.
—
Thanks,
Raymond
******************
To send a voicemail call 707-6PODNUT (707-6763688)
To support Podnutz please use the following links, and remember you don’t pay any extra for using the links !
Podnutz Amazon link (http://www.podnutz.com/amazon
Podnutz Newegg link (http://www.podnutz.com/newegg
Podnutz Ebay (http://www.podnutz.com/ebay)
Podnutz Deals (http://www.podnutz.com/deals)
Podnutz Clothing (http://www.podnutz.com/