The following script will get the listening port of a dynamic instance name on Microsoft SQL Server
Networking, Politics, and Crypto
The following script will get the listening port of a dynamic instance name on Microsoft SQL Server
This post is mainly to share a few scripts I have written which automate the Windows Update of my Server 2016 Core File Server which…
#1. Create a service account for SQL in AD. #2. Add that service account to the computers Local Admin groups. #3. Create a Silent Install…
function Fix-MAC { [CmdletBinding(DefaultParameterSetName=’Upper’)] [OutputType([string])] Param ( # MAC Address [Parameter(Mandatory=$true, ValueFromPipeline=$true, ValueFromPipelineByPropertyName=$true, ValueFromRemainingArguments=$false, Position=0)] [Parameter(ParameterSetName=’Upper’)] [Parameter(ParameterSetName=’Lower’)] [Parameter(ParameterSetName=’IOS’)] [string[]]$MACS, [Parameter(Mandatory=$False, ParameterSetName=’Lower’)] [switch]$Lower, [Parameter(Mandatory=$False, ParameterSetName=’IOS’)] [switch]$IOS…
I was doing some PowerShell scripts at work and I was typically using Invoke-WebRequest to download files as it’s the simplest method to do so.…
I’ve got some PowerShell scripts that are executed by a service running as “SYSTEM” which runs everything in Session 0 isolation and I needed to…