Alan's Blog

"Yeah. I wrote a script that will do that."

Menu
  • About My Blog
Menu

Author: Alan

See https://www.akaplan.com/about/

Get a list of Script Variables inside ISE

Posted on December 27, 2014 by Alan

Get-ScriptVariables.ps1 is my take on a variable inventory script I found on Powershell.com.  I changed the function name, as Get-Variable already in use, gave a unique name to function variables to exclude, added other system variables, and added example to show current values with enumeration.

Read more

Open Internet Explorer Favorites in PowerShell

Posted on December 25, 2014December 25, 2014 by Alan

Although I am a Waterfox user at home, at work we are limited to using Internet Explorer.  Years of dumping things into Favorites has left a mess, and I feel that IE doesn’t provide a good way to organizing Favorites. Open-Favorites.ps1 is a short PowerShell script which finds your Favorites folder, does a recursive search…

Read more

Brief Outage Breaks Buttons

Posted on November 29, 2014 by Alan

I had a brief outage this week which affected the database.  When it was repaired, the script download buttons were broken.  I am going to try to fix them all, but if I miss one, remember that the same link exists inside the text of the post.  The new buttons will prompt you to download…

Read more

Auditing Active Directory Permissions with Powershell

Posted on November 22, 2014February 25, 2024 by Alan

Active Directory permissions aren’t easy to audit.  It is a lot easier to delegate permissions to a user or a group than it is to figure out later who has what rights on what containers and organizational units.  I have taken a few runs at it, including a vbscript version which was terrible.  That is…

Read more

A GUI Select of Properties for PowerShell Scripts

Posted on November 22, 2014May 14, 2016 by Alan

Updated Version, with pipeline support is here. I have been writing a number of reporting and audit scripts where there are a lot of potential properties that the user might want in the log file or report.  It is hard to guess what items that they want in their report or in what order that…

Read more

Get List of Computers from Active Directory

Posted on November 22, 2014November 29, 2014 by Alan

Get-ADComputerList.ps1 is pretty simple.  It gets a list of all the computers in the domain you specify.  Reported are the DNS Name, IP v4 Address, Active Directory Path and OS.  A comma delimited log file is written to your desktop.

Read more

Minimize File Size Bloat with Excel Pivot Tables

Posted on November 2, 2014November 29, 2014 by Alan

I often work with very large spreadsheet, often more than 30 MB in size. I am an Office user, not an Office expert.  A few months ago one of my teammates taught me how to use pivot tables to summarize and present the large data set in a way better than just using filters.  The…

Read more

PowerShell and .Nessus File Revisited

Posted on October 11, 2014November 29, 2014 by Alan

I previously wrote about processing .Nessus files using Posh-NVS.  I found my needs to be a little different from what that project provides, so I decided to take a crack at my own script for reading .Nessus files.  Unlike Posh-NVS, it has no modules to install and my Convert-Nessus.ps1 adds the host information onto the…

Read more

PowerShell and .Nessus files

Posted on October 1, 2014March 9, 2015 by Alan

Tenable Nessus is a commonly used scanner in the enterprise.  The native (version 2) .nessus files which it creates are XML files which contain information about the scan settings, plus the data collected about the hosts.  Parsing these files is typically done with a Python script — a Google search yields over 140K results.  Looking…

Read more

Compare Group Policy Objects

Posted on September 14, 2014March 8, 2015 by Alan

Our Active Directory lead recently complained to me that he didn’t have a good way to compare Group Policy Objects.  I had already written the Group Policy Reporter, which exports GPOs to HTML files, and it occurred to me that comparing two HTML files would be pretty easy.  But my experiments with Compare-Object led to…

Read more
  • Previous
  • 1
  • …
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • …
  • 42
  • Next

Search

Please Note

All the scripts are saved as .txt files. Newer files have a “View Script” button which will let you save or open a script in notepad. For earlier posts, the easiest way to download with IE is to right click on the link and use “Save Target As”. Rename file from Name_ext.txt to Name.ext.

To see a full post after searching, please click on the title.

PowerShell Scripts were written with version 3 or later.

https connections are supported.

All new users accounts must be approved, as are comments. Please be patient.  If you find a post error or a script which doesn’t work as expected, I appreciate being notified.  My email is my first name at the domain name, and you are welcome to contact me that way.

Tags

1E ACLS Active Directory ActiveDirectory ADSI Advanced Functions Audit Change Administrator Password COMObject Computer Groups DateTime Desktop DNS Excel FileScriptingObject Forms General GPO GPS Group Policy Hacks ISE Lockout logons NAV740 Nessus OU OU permissions Outlook Pick Folder Power PowerShell Powershell Scriptlets RDP SCCM schedule reboot Scripting Security Shell.Application user information VBA Windows Update WMI WordPress WPF

Categories

akaplan.com

  • Back to Home Page

Archives

Scripting Sites

  • A Big Pile of Small Things
  • Adam, the Automator
  • Art of the DBA
  • Ashley McGlone
  • Boe Prox
  • Carlo Mancini
  • DexterPOSH
  • Doug Finke
  • Jaap Brasser's Blog
  • JeffOps The Scripting Dutchman
  • Jonathan Medd's Blog
  • Keith Hill's Blog
  • LazyWinAdmin
  • Nana Lakshmanan
  • PowerShell Magazine
  • PowerShell Team Blog
  • PowerShell.org
  • PwrShell.net
  • Richard Siddaway's Blog
  • Ryan Yates' Blog
  • Skatterbrainz
  • The Lonely Administrator

SQL Site

  • Art of the DBA

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
©2025 Alan's Blog | Theme by SuperbThemes

Terms and Conditions - Privacy Policy