This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| Gets useful ACL properties and exports them to a CSV file. | |
| .DESCRIPTION | |
| Gets Path, Owner, Access, Inheritance, and InheritanceFlags of an object(s) and export them to a CSV. | |
| The CSV format is desinged for user firendly read-ablitly. | |
| The first two columns of a row will be Path and Owner, then the next row(s) will be the Identity and Permissions of the left most object. | |
| Once the next object is enumerated, the Path and Owner will begin on the left most column. | |
| Example Output of 'Export-AclToCsv -Path "\\Server\Share" -ExportPath $env:HOMEPATH + "\test.csv": |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| Creates random password string of length 1 to 100. | |
| .DESCRIPTION | |
| Creates random password with ability to choose what characters are in the string and the length, the symbols can be specificlly defined. | |
| .EXAMPLE | |
| New-RandomPassword -Length 8 -Lowercase | |
| In this example, a random string that consists of 8 lowercase charcters will be returned. | |
| .EXAMPLE | |
| New-RandomPassword -Length 15 -Lowercase -Uppercase -Numbers -Symbols |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| Collects each SQL Edition Type by Instance Name. | |
| .DESCRIPTION | |
| Enumerates the registry for installed instances of SQL, then foreach installed instance, it enumerates the Edition Type. | |
| .EXAMPLE | |
| Get-SqlEdition -ComputerName MySQLServer.mydomain.org | |
| .EXAMPLE | |
| @("MyComputer","MyServer","MyDomainController") | %{ Get-SqlEdition -ComputerName $_ } | |
| .NOTES |
NewerOlder