This script will search a file structure for a specific file type and export the results to a CSV file. This can be used to search a user accessible file share for file types that you may have policies against storing on a file share. If you don’t have...
Active Directory Maintenance: Finding Stale User Objects w/ PowerShell
In this video, I talk a little more about performing Active Directory Maintenance with PowerShell. Specifically, finding user objects that have not authenticated to the domain in X number of days. This script will search an Organizational Unit for Users accounts that have not authenticated to the Domain in...
Create Active Directory Groups in Bulk from a CSV w/ PowerShell
I have a pretty simple script today. All it does is import your Active Directory group information from the CSV file and create the groups based on the information imported. This is pretty much as simple as it gets but very effective for creating multiple groups in different organizational units....
Remotely Install Adobe Reader with PowerShell
This scripts is quick, dirty and could be made more efficient. That said, it works.Reads a As constructed it reads a txt file containing computer names and attempts to ping each machine. If the ping is successful, it copies the contents of c:\Install from the source computer to c:\install on the...
Active Directory Maintenance: Finding Stale Computer Objects w/ PowerShell
If you’re in a large Enterprise you may have computer objects lurking in Active Directory that have not authenticated to the Domain in a while. This script will allow you to find those objects, disable them and move them to an alternate Organizational Unit. <# *** THIS SCRIPT IS...
Use PowerShell to retrieve 3rd party software versions
# *** THIS SCRIPT IS PROVIDED WITHOUT WARRANTY, USE AT YOUR OWN RISK *** <# .DESCRIPTION Uses some WMI and reading some Registry keys to get the version numbers for McAfee Security Center, DAT, HIP, Plash Player, Java, Adobe Acrobat, Reader and AIR. All of the results are...
How to create and use custom PowerShell Functions
# *** THIS SCRIPT IS PROVIDED WITHOUT WARRANTY, USE AT YOUR OWN RISK *** <# .DESCRIPTION Starts the Windows Update service (wuauserv) if it is stopped and forces a checkin with the WSUS Server. This function uses the Invoke-Command CMDlet which will require PSRemoting to be enabled on the...
Force WSUS checkin with PowerShell
# *** THIS SCRIPT IS PROVIDED WITHOUT WARRANTY, USE AT YOUR OWN RISK *** <# .DESCRIPTION Starts the Windows Update service (wuauserv) if it is stopped and forces a checkin with the WSUS Server. This function uses the Invoke-Command CMDlet which will require PSRemoting to be enabled on the...
PowerShells Get-Help cmdlet explained.
This video focuses on ways you can use the PowerShell Get-Help cmdlet to efficiently navigate the help files. I also talk about how you can use Update-Help and Save-Help to take the PowerShell help files offline if the need arises. Below is the code I used in the video,...
PowerShells Get-Command cmdlet explained.
The video below is my maiden voyage on YouTube, I would appreciate a Subscribe, Thumbs up or a Comment on YouTube or here. I plan on producing more Screen-Casts going forward relating to PowerShell, Windows Server 2012R2, Exchange 2013, System Center Configuration Manager 2012, SharePoint 2013, and other things....