< Back
Repair-UserSshConfigPermission
Post
NAME Repair-UserSshConfigPermission
SYNOPSIS
Repair-UserSSHConfigPermission
Repair the file owner and Permission of user config
SYNTAX
Repair-UserSshConfigPermission [-FilePath] <String> [[-UserSid] <SecurityIdentifier>] [-WhatIf] [-Confirm]
[<CommonParameters>]
DESCRIPTION
PARAMETERS
-FilePath <String>
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-UserSid <SecurityIdentifier>
Required? false
Position? 2
Default value $currentUserSid
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
RELATED LINKS
SYNOPSIS
Repair-UserSSHConfigPermission
Repair the file owner and Permission of user config
SYNTAX
Repair-UserSshConfigPermission [-FilePath] <String> [[-UserSid] <SecurityIdentifier>] [-WhatIf] [-Confirm]
[<CommonParameters>]
DESCRIPTION
PARAMETERS
-FilePath <String>
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-UserSid <SecurityIdentifier>
Required? false
Position? 2
Default value $currentUserSid
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
RELATED LINKS