Invoke powershell activity for pssession in uipath

I have to login using pssession with computername and credential
then go insdie the folder and delete the last 48hrs files only

ing -AsPlainText -Force -String ‘USIF2Q5Z’
$cred = new-object -typename System.Management.Automation.PSCredential -argumentlist ‘AJBRPA’,$pw
$session = new-pssession -computername -credential $cred

Invoke-Command -Session $session -ScriptBlock {fsutil volume diskfree E:}
$path = ‘E:\AJBRTS\eod.bak\staging’
$limit = (Get-Date).AddHours(-48)
$Extension = ‘.
Invoke-Command -Session $session -ScriptBlock {Get-ChildItem -Path ‘E:\AJBRTSZeod.bak\staging’ -Filter ‘.’ -Force | Where-Object {$_.LastWriteTime -lt (Get-Date).AddHours(-48)} | Remove-Item}
Invoke-Command -Session $session -ScriptBlock {fsutil volume diskfree E:}"

Help me how to invoke powershell activity

@aravindhrpa2012 are you reach any solution for pssession?