You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You need to remove the parentheses (). Get-IniContent -FilePath "C:\temp\abc.ini" -IgnoreComments
If a switch is present on the command it's $true, If it's not, it's $false. It is possible to set the value explicitly: Get-IniContent -FilePath "C:\temp\abc.ini" -IgnoreComments:$true
or you can do it with a variable:
Hi,
I test the IgnoreComments, but it do not work
I test these:
Get-IniContent (-FilePath "C:\temp\abc.ini" -IgnoreComments)
Get-IniContent (-FilePath "C:\temp\abc.ini" -IgnoreComments $true)
Thanks :)
The text was updated successfully, but these errors were encountered: