end of the video should refactor it
This commit is contained in:
9
1.Basic/10.Function.ps1
Normal file
9
1.Basic/10.Function.ps1
Normal file
@@ -0,0 +1,9 @@
|
||||
function Test {
|
||||
[CmdletBinding()] #turns into adv function
|
||||
param(
|
||||
[int32] $PingCount
|
||||
)
|
||||
Test-Connection google.com -Count $PingCount
|
||||
}
|
||||
|
||||
Test
|
||||
Reference in New Issue
Block a user