mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-12-29 10:09:37 +01:00
42 lines
1.0 KiB
Markdown
42 lines
1.0 KiB
Markdown
# PowerShell Script /home/mf/PowerShell/Scripts/check-ipv4-address.ps1
|
|
|
|
## Synopsis
|
|
check-ipv4-address.ps1 [<address>]
|
|
|
|
## Description
|
|
Checks the given IPv4 address for validity
|
|
|
|
## Syntax
|
|
```powershell
|
|
/home/mf/PowerShell/Scripts/check-ipv4-address.ps1 [[-Address] <String>] [<CommonParameters>]
|
|
```
|
|
|
|
## -Address <String> Parameter
|
|
|
|
```
|
|
-Address <String>
|
|
|
|
Required? false
|
|
Position? 1
|
|
Default value
|
|
Accept pipeline input? false
|
|
Accept wildcard characters? false
|
|
```
|
|
## <CommonParameters>
|
|
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
|
|
|
|
## Example
|
|
```powershell
|
|
PS>.\check-ipv4-address.ps1 192.168.11.22
|
|
```
|
|
|
|
|
|
## Notes
|
|
Author: Markus Fleschutz
|
|
License: CC0
|
|
|
|
## Related Links
|
|
https://github.com/fleschutz/PowerShell
|
|
|
|
*Created by convert-ps2md.ps1*
|