I’ve published two new PowerShell scripts on GitHub: https://github.com/obs0lete/Grant-Admin – Used for grant local administrator rights on remove machine. https://github.com/obs0lete/Revoke-Admin – Used to revoke administrator…
With inspiration from https://www.reddit.com/r/PowerShell/comments/3zf0b8/getweather_get_the_current_weather_of_your/ and http://wttr.in/ I’ve written a function for Powershell where you can get current weather conditions whenever you launch the console! Make…
I recently wrote a PowerShell script that will back and replace a certificate as well assign permissions to the private keys. Basically, what this script…
Here’s a quick portion of a PowerShell script I used that will delete files older than X dates from the current date. 123 $path = “path-to-folder”$days= (Get-Date).AddDays(-7)Get-ChildItem -Path $path -Force | Where-Object { !$_.PSIsContainer -and $_.CreationTime -lt $days} | Remove-Item -Force Simply change…
Here’s a Powershell script I put together that will fetch system information (hdd size, OS, RAM, etc…) for a remote system. You’ll (obviously) need remote…
I use Kodi as my HTPC software of choice. In the bedroom I am using a Raspberry Pi 2 running OpenElec which I have had…