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
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.
Get-Credential Gives You Power Over Your Passwords
Use get-credential to create variables that will store your passwords and save you time when you’re running tasks that require different credentials.
Meet Set-ADUser, an All-Purpose Hammer
Mark continues his discussion of AD “hammers” with his introduction of set-aduser, the ultimate tool for AD account tweaking.
3 PowerShell Account Tweaks
Here are three more "hammer" PowerShell cmdlets that become very interesting when you mate them with a filter cmdlet.
Doubling Up Active Directory PowerShell Cmdlets
Grasp the real power of PowerShell in Active Directory by combining a cmdlet that collects all the accounts that meet some criterion with another cmdlet that does something to those accounts.
Automated PowerShell Reports Delivered to Your Inbox 2
Now that you’re prepared to use PowerShell to create AD reports automatically and deliver those reports to your mailboxes, let’s assemble a report that PowerShell can run for you daily.
Automating PowerShell Reports, Part 2 2
Windows Server's SMTP Server module provides an important underpinning to our discussion about automating PowerShell.
Automating PowerShell Reports, Part 1 2
Learn how to get PowerShell to automatically generate a report daily and deliver it to you via email.
Fine-Tuning Your Active Directory PowerShell Searches
How do you query AD for a group's members, but to return only the group members who also live in a particular OU?
Pipeline Problems and Get-ADUser
Learn the ins and outs of using the pipeline character with the Get-ADUser PowerShell cmdlet.
More Control of Active Directory Groups through PowerShell
Extend your get-adgroupmember capabilities, and learn how to use PowerShell's Help to find time-saving tips.
Comments
Get Hex Dumps of Files in PowerShell
November 14, 2015

You probably know this, but PoSH 5.0 includes format-hex. Examples:

Format-Hex -path myfile.txt
Get-content myfile.txt | format-hex
$myresult | format-hex...

Getting Started with REST and PowerShell
October 15, 2015

You're right, Dimitrios, I mistyped that!

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. :-)

John Savill's PowerShell Master Class

Join John Savill for the ALL NEW PowerShell Master Class!

In this master-level training course, you get 9 hours of technical training that will make you a PowerShell Master!

Thursdays, February 11th through 25th

By the end of the course, you will understanding how to create custom modules to achieve amazing results in your environment, in non-Microsoft environments and in Azure.

Topics covered will include:

* PowerShell Fundamentals
* Remote Management
* Connecting Commands and Mastering Objects
* Scripting and Custom Modules
* State Configuration
* PowerShell Workflows, Orchestrator SMA, and Azure Automation
* And much more!

 

Join the Conversation

Get answers to questions, share tips, and engage with the IT professional community at myITforum. Are you a data center professional? Join AFCOM for the best data center insights.

Sponsored Introduction Continue on to (or wait seconds) ×