-
Recent Posts
Recent Comments
Archives
Categories
Meta
Tag Archives: Powershell
Quick Tip: PowerShell for Testlab DNS Entries
A quick post to cover building up the test lab DNS. Eventually these notes will appear in my test lab build series, but until then, this will give you the gist on how to automate this. The following code snippets … Continue reading
Posted in Active Directory, Deployment, Powershell, Scripting, Test Lab
Tagged Active Directory, DNS, Powershell, Test Lab
Leave a comment
File Server Resource Manager Quota Adjustment – Quick and Dirty
DR tests are fun. Manually flipping file servers w/ Robocopy as the synchronization mechanism is not. Hurry up, Server 2016, you’re my only hope. We ended up having to make some quota adjustments on the fly to handle data changes … Continue reading
Posted in Disaster Recovery, File Services, Powershell, Scripting, Uncategorized
Tagged FSRM, Powershell, Quotas
Leave a comment
Test Lab Buildup Series – Introduction
I am in the process of revamping my entire test lab build process, and given that I know of a number of admins that still do things entirely by hand, I thought I would share the process involved since for … Continue reading
Posted in Deployment, Scripting, Test Lab
Tagged Deployment, Manageability, Powershell, Scripting, Test Lab
Leave a comment
Exchange 2013 Powershell Script: Check CAS Health v2
Back when we were first putting in Exchange 2013 I wanted a way to check the Client Access Server roles as we were deploying servers to make sure that they were coming up okay. Thankfully, the Exchange 2013 team was smart … Continue reading
Posted in Exchange 2013, Monitoring, Powershell
Tagged Exchange 2013, Monitoring, Powershell
Leave a comment
Exchange 2013 Powershell Script: Get DAG-wide Mailbox Statistics
While preparing for our On-prem -> O365 migration of a subset of our users, we ran across the need to gather mailbox statistics so that we could create the migration batches based on metrics. It’s pretty simple for us to … Continue reading
Posted in Exchange 2013, Management, Powershell
Tagged Exchange 2013, Planning, Powershell, Sizing
Leave a comment
Powershell Code: How to Extend Password Age in Active Directory
We have a subset of users whose passwords are not expired while they are in a certain stage of their existence. We store these accounts in 1 particular OU, and once they are ready to move on to their next … Continue reading
Posted in Active Directory, Management, Powershell
Tagged AD, Powershell, pwdLastSet
Leave a comment
Powershell: Exporting a CSV of Computer Data
I had an urgent request to pump out some data regarding a list of computer accounts similar to this: I thought “No problem, a quick ‘Get-ADComputer’ piped to ‘Export-CSV’ and we’re golden. Except for the fact that Export-CSV doesn’t handle … Continue reading