How to validate a new file parameter in PowerShell
It’s a known best practice to validate all parameters of a function or a script. But how would you validate a file parameter for a new file?
It’s a known best practice to validate all parameters of a function or a script. But how would you validate a file parameter for a new file?
I got error 0xc00cee22 on several FSRM servers either with the FSMR console or with FSRM cmdlets
While trying to rename a volume you get the following error:
WARNING: The volume label is not valid.
Set-Volume : Invalid Parameter
When you submit a certificate request you may encounter the following error: Certificate Request Processor: The system cannot find the file specified. 0x80070002 (WIN32: 2)
Displaying firewall rules with PowerShell is very easy with the Get-NetFirewallRule cmdlet.
However, there is a gap: port numbers are not displayed.