mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-06-30 04:31:39 +02:00
Add datatype to param()
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
Author: Markus Fleschutz / License: CC0
|
||||
#>
|
||||
|
||||
param($Directory = "")
|
||||
param([string]$Directory = "")
|
||||
|
||||
function WriteCsvHeader { param([PSCustomObject]$File)
|
||||
foreach($Entry in $File.ata_smart_attributes.table) {
|
||||
|
Reference in New Issue
Block a user