Category: Code
How to scrape Ikea for a list of All Products
Looks like the main scrapers I found are Import.io and Octoparseimport.io gives you a free 7 day account with 500 Requests) Get a list of all products […]
How to remotely Get a List then Uninstall a Program via WMIC ( CMD )
Get a list of programs currently install wmic /node:<REMOTE HOSTNAME> product get name, version, vendorHow to uninstall the Programwmic /NODE:<REMOTE HOSTNAME> product where (name=”Windows Agent”) call uninstall
Debugging and Slowness with Php
Install : Xdebug Can be done by install then entering the following : /etc/php/7.1/fpm/php.ini:zend_extension = /usr/lib/php/20160303/xdebug.so xdebug.profiler_enable = 0 xdebug.profiler_output_name = cachegrind.out.%t xdebug.profiler_enable_trigger = 1 xdebug.profiler_output_dir = /tmp xdebug.profiler_enable_trigger_value = […]
Powershell Script to List Failed VSS Writers
Powershell script to list all failed VSS Writers on a serverhttps://github.com/pariswells/pariswells.com/blob/master/listfailedvsswriters.ps1
Fix to protect against BadRabbit ransomware
https://github.com/pariswells/pariswells.com/blob/master/badrabbitfix.bat
Powershell to find Users Missing Contacts in a Hybrid Enviroment
Get-ADUser -Filter {proxyAddresses -like “*main.domain.com” -and enabled -eq true -and msExchUserAccountControl -notlike “*” -and msExchVersion -notlike “*”} |Select Name
How to Bulk Delete Emails in Google Apps / Gmail via Script
Gmail and Google app’s has a space limit for it’s free service. Most of the time people don’t delete emailsYou can search for a load of emails […]
Check if http/https webserver is responding bat file script
Kudos to Rojo for this
Securing Apache to use Certificate Authentication auth_x509
Query to see if Certificate Exists via x509 based logins httpd-ssl.conf