So I wanted to automate IoC(Indicators of Compromise) collection and discovered AlienVault OTX product. I work in a primarily windows workstation environment and Powershell is my goto language for just about everything since since it is native on every system since Windows 7. Below is a script I developed to gather indicators from all subscribed pulses on OTX with powershell. It gathers each indicator by type, IE: IPv4, URL, Hostname etc, and then exports each seperate indicator type into…