PowerShell_Scripts
PowerShell_Scripts copied to clipboard
Miscellaneous scripts for things that I have done; more scripts will arrive as I get time to update this repo.
``` Computername : SRV-SQL02-DCA Instance : {MSSQL$DEV_DCA, MSSQL$HFM_DCA, MSSQL$INF_DCA, MSSQL$IPORT_DCA...} SqlServer : SRV-SQL-TFS WMINamespace : ComputerManagement12 Sqlstates : 2099213 Version : 12.0.2000.8 Splevel : 0 Clustered : True Installpath :...
I work in a DevOps heavy environment where there are a lot of machines that do not get joined into the Domain because they are torn down after their smoke-tests...
@proxb @kensel Get-LocalGroupMembership.ps1. I can't get this to work. No results returned when I run it as in the examples. What am I missing?
hello, I've writter simple script ``` cls . "C:\xxx\Get-SQLInstance.ps1" 'running on: {0}' -f $env:Computername '---------------' Get-SQLInstance -Computername $env:Computername | % { $_.ComputerName } ``` I expected it to show cluster...