Skip to content

Commit

Permalink
đź“ť Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
brianary committed Nov 10, 2023
1 parent 610bb04 commit b354f2e
Show file tree
Hide file tree
Showing 7 changed files with 122 additions and 15 deletions.
2 changes: 1 addition & 1 deletion PS5/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 16 additions & 1 deletion docs/ConvertTo-SafeEntities.ps1.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Encode text as XML/HTML, escaping all characters outside 7-bit ASCII.
## SYNTAX

```
ConvertTo-SafeEntities.ps1 [-InputObject] <String> [<CommonParameters>]
ConvertTo-SafeEntities.ps1 [-InputObject] <String> [-IncludeMarkupChars] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -56,6 +56,21 @@ Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```
### -IncludeMarkupChars
Indicates that markdown characters should also be escaped.
```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
Expand Down
89 changes: 89 additions & 0 deletions docs/Test-ConnectionString.ps1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
---
external help file: -help.xml
Module Name:
online version: True
schema: 2.0.0
---

# Test-ConnectionString.ps1

## SYNOPSIS
Test a given connection string and provide details about the connection.

## SYNTAX

```
Test-ConnectionString.ps1 [-ConnectionString] <String> [<CommonParameters>]
```

## DESCRIPTION
{{ Fill in the Description }}

## EXAMPLES

### EXAMPLE 1
```
Test-ConnectionString.ps1 'Server=(localdb)\ProjectsV13;Integrated Security=SSPI;Encrypt=True'
```

ServerName : SERVERNAME\LOCALDB#DCCC9EEC
AppName : Core Microsoft SqlClient Data Provider
LocalRunAsAdmin : False
ConnectingAsUser : SERVERNAME\username
SqlInstance : (localdb)\ProjectsV13
LocalWindows : 10.0.19045.0
InstanceName : LOCALDB#DCCC9EEC
DatabaseName : master
AuthType : Windows Authentication
Integrated Security : True
Data Source : (localdb)\ProjectsV13
ConnectSuccess : True
Workstation ID : SERVERNAME
AuthScheme : NTLM
ComputerName : SERVERNAME
Encrypt : True
LocalCLR :
TcpPort : 1433
LocalPowerShell : 7.3.9
NetBiosName : SERVERNAME
Edition : Express Edition (64-bit)
IPAddress : 192.168.1.223
ServerTime : 2023-11-10 12:14:09
DomainName : WORKGROUP
Server : \[(localdb)\ProjectsV13\]
IsPingable : True
LocalEdition : Core
Pooling : True
LocalDomainUser : False
MachineName : SERVERNAME
SqlVersion : 13.0.4001
LocalSMOVersion : 17.100.0.0

## PARAMETERS

### -ConnectionString
{{ Fill ConnectionString Description }}

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
## INPUTS
## OUTPUTS
### System.Management.Automation.PSObject containing properties about the connection.
## NOTES
## RELATED LINKS
3 changes: 2 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ Scripts from the [Scripts](https://github.com/brianary/Scripts/) repo.
- **[Repair-DatabaseConstraintNames.ps1](Repair-DatabaseConstraintNames.ps1.md)**: Finds database constraints with system-generated names and gives them deterministic names.
- **[Repair-DatabaseUntrustedConstraints.ps1](Repair-DatabaseUntrustedConstraints.ps1.md)**: Finds database constraints that have been incompletely re-enabled.
- **[Send-SqlReport.ps1](Send-SqlReport.ps1.md)**: Execute a SQL statement and email the results.
- &#x1F195; **[Test-ConnectionString.ps1](Test-ConnectionString.ps1.md)**: Test a given connection string and provide details about the connection.
- **[Use-SqlcmdParams.ps1](Use-SqlcmdParams.ps1.md)**: Use the calling script parameters to set Invoke-Sqlcmd defaults.

### Date and time
Expand Down Expand Up @@ -282,7 +283,7 @@ Scripts from the [Scripts](https://github.com/brianary/Scripts/) repo.

- **[Compare-Xml.ps1](Compare-Xml.ps1.md)**: Compares two XML documents and returns the differences.
- &#x1F199; **[Convert-Xml.ps1](Convert-Xml.ps1.md)**: Transform XML using an XSLT template.
- **[ConvertFrom-EscapedXml.ps1](ConvertFrom-EscapedXml.ps1.md)**: Parse escaped XML into XML and serialize it.
- &#x1F199; **[ConvertFrom-EscapedXml.ps1](ConvertFrom-EscapedXml.ps1.md)**: Parse escaped XML into XML and serialize it.
- **[ConvertFrom-XmlElement.ps1](ConvertFrom-XmlElement.ps1.md)**: Converts named nodes of an element to properties of a PSObject, recursively.
- **[ConvertTo-XmlElements.ps1](ConvertTo-XmlElements.ps1.md)**: Serializes complex content into XML elements.
- **[Format-Xml.ps1](Format-Xml.ps1.md)**: Pretty-print XML.
Expand Down
2 changes: 1 addition & 1 deletion syscfg/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 7 additions & 6 deletions test/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b354f2e

Please sign in to comment.