Mark Minasi

Mark
Minasi

Mark Minasi is a senior contributing editor for Windows IT Pro, an MCSE, and the author of more than 30 books, including Mastering Windows Server 2008 R2 (Sybex). He writes and speaks around the world about Windows networking.

Articles
Cryptic PowerShell One-Liner to Clarified Script, Part 2
Mark finishes last month's discussion about converting useful but cryptic one-liners into something prettier. Here are some more tips, and another example.
Cryptic PowerShell One-Liner to Clarified Script, Part 1
We've been talking about PowerShell one-liners and how to simplify them. But merely requiring less typing isn't enough justification for making these script text files. Here are some more reasons why you'd want to do so.
From PowerShell One-Liner to Script
Rebuild your PowerShell one-liners into something more readable and more easily modified and improved by converting it into a PowerShell “script.”
Going Further with ForEach
For improved flexibility, make your PowerShell one-liners ForEach-friendly.
From One-Liner to ForEach One-Liner
Learn how to start combining the pipeline and ForEach to build some potent one-liner AD PowerShell comdlets.
Introducing the Pipeline and ForEach
ForEach lets you traverse items in a collection. Here's what's happening under the hood.
Where-Object and the Pipeline
As a warmup to a discussion about ForEach, Mark looks at the Powershell pipeline by way of a great tool named Where-Object.
PowerShell Cmdlets for DNS 1
You can now simplify your command-line DNS administration work with 100 new PowerShell cmdlets. Here are three of them.
Installing Printers with PowerShell 1
Yes, add-printer lets you install a printer. But there are two exciting aspects to this PowerShell cmdlet: It's easy to automate, and non-administrative users can run it.
Managing Printers Gets Easier in Windows 8 2
Add-printerdriver is an excellent PowerShell cmdlet for managing printer drivers, particularly when you supplement it with the Pnputil command.
Simplifying Services with Managed Service Accounts
MSAs show you that PowerShell can be a great time-saver
Bye-Bye Diskpart: PowerShell Is Moving In! 11
Mark takes a break from his AD coverage to show you some truly cool PowerShell tools: the volume cmdlets, the disk cmdlets, and the physicaldisk cmdlets.
Deleting Active Directory User Accounts with Remove-ADUser
Now that you know how to find users based on a certain criterion, and how to combine PowerShell commands to do something with that group, it’s time to talk about account deletion.
Where-Object Is the Filter of Filters
You've already seen how using the pipeline to string together a few PowerShell cmdlets can let you create a simple report, but it's probably a little more than you really want. You don't want to see all users and their last logon dates; you just want to see the ones who haven't logged on since some unusually long-ago date.
Comments
Reasons Why Windows 10 Might be Downloading on Domain-Joined Computers
August 19, 2015

This is really interesting, as I meet all four criteria that Rod set out -- great sleuthing, by the way! -- and did not get an invite.

That said, in the end analysis...

Harvesting the Web with PowerShell and Invoke-WebRequest
July 15, 2015

Hi Andrew -- great question, not sure I have an answer. :-( I'm guessing that SourceForge does that to block "bots," which is honestly something that every site has to worry...

Microsoft Fixes Bug That Dates Back to Windows 95
November 13, 2014

So THIS is how the Chinese have been hacking us for years. Now it's all clear. :-)

Automated Server Setup in Windows Server 2012 and Windows 8, Part 2
November 11, 2014

Hi Muraty -- to your questions:
1) Remember, the DC was kinda old and had some iffy items in the log. If the automatic FSMO transfer goes wrong in DCPROMO, then, well...

Automated PowerShell Reports Delivered to Your Inbox
March 1, 2014

Tony, you're right on the reference to the text file but I'm afraid you're mistaken on the rest -- I tested this before writing the column. You do indeed schedule powershell....

John Savill's Microsoft Stack Master Class

Join John Savill for the ALL NEW Microsoft Stack Master Class!

Get 30 hours of detailed instruction covering the complete Microsoft solution stack. Invest a few hours each week and become THE Microsoft expert in your organization.

Thursdays, October 8th to December 17th

John will cover topics including:

* Key Features of Active Directory for every version of Server OS, including Windows Server 2012 R2 and Windows Server 2016
* Key elements of Microsoft System Center 2012 and System Center 2012 R2 PLUS major changes in the 2016 wave
* Deploying, Migrating to, and Managing Hyper-V in Your Organization
* Implementing a Private Cloud
* Using PowerShell to Automate Common tasks
* Key Windows 10 changes including the new Start menu, Cortana, Microsoft Edge, and more
* And much more!

 

Enroll by October 1st and SAVE $245!

 

 

Windows Forums

The Windows IT Pro forums are moving to myITforum.com! Get answers to questions, share tips, and engage with the IT professional community.

Sponsored Introduction Continue on to (or wait seconds) ×