-
-
Code | Delphix | PowerShell | SQL | WebAPI
Delphix Web API – PowerShell Run Masking Job
Take note of the Global Variables $BaseURL and $LogFilePath, make sure you set them to your values. The idea for this script is to run this as part of a database restore/migration. Drop all access to the database to do the restore/migration, then run the script for Delphix, and then restore all access.
-
-
Azure | Code | DNS | PowerShell | Windows
PowerShell – Set DHCP DNS or Set Static DNS
Execute with
-
PowerShell – Reset Colors
If you have ever played with the colors of your PowerShell window this will help you reset the colors to default Depending on what you changed something like below will reset your values
-
Azure | Code | PowerShell
PowerShell – Download Azure Blob Container Content
You get all of your data into Azure or your application uploads/creates directly into Azure storage and then someone asks you to download the files…. This script below will help you download your files.
-
PowerShell – Enable WinRM
Not recommended for production computers but this will get the WinRM working on a development computer. If you can’t connect due to access denied try this
-
Code | macOS | macOS Shell | PowerShell | UNIX | UNIX Shell Scripts
Mac Terminal – PowerShell on Mac OS
Resource: https://blog.azureandbeyond.com/2016/11/11/powershell-azure-and-macos-absolutely/
-
PowerShell – Create Zip File
Scenario, you’re on a Windows Server and don’t want to or can’t install a zip program. This script will help you create a zip file without any special program. Caveat: Currently this does not give you any kind of status so it could seem to be doing nothing for a while depending on the size…
-
Code | Network | PowerShell
PowerShell – Test Port
Similar to CMD Telnet this PowerShell will test a port for you based on certain parameters. Reference: http://www.travisgan.com/2014/03/use-powershell-to-test-port.html