Starting Wireguard tunnel…
Trying to make Wireguard tunnel network private…
Make Wireguard tunnel network private:
StdOut : ”
StdErr: ‘Get-NetConnectionProfile : ?? ???? ?? ??? ???? ?? ?? ??? ??????.
At line:1 char:19
+ $NetworkProfile = Get-NetConnectionProfile -InterfaceAlias “wiresock”
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (MSFT_NetConnectionProfile:root/StandardCi…nnectionProfile) [Get-NetConn
ectionProfile], CimException
+ FullyQualifiedErrorId : MI RESULT 1,Get-NetConnectionProfile
The property ‘NetworkCategory’ cannot be found on this object. Verify that the property exists and can be set.
At line:2 char:1
+ $NetworkProfile.NetworkCategory = “Private”
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : PropertyNotFound
Set-NetConnectionProfile : Cannot validate argument on parameter ‘InputObject’. The argument is null. Provide a valid v
alue for the argument, and then try running the command again.
At line:3 char:41
+ Set-NetConnectionProfile -InputObject $NetworkProfile
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Set-NetConnectionProfile], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationError,Set-NetConnectionProfile
‘
Err: exit status 1