Issue
Code backup
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
$Server = "PC284.pal.local"
|
||||
$Sessions = (quser /server:$Server) -replace '\s{2,}', ',' | ConvertFrom-Csv
|
||||
|
||||
$Utente = $Sessions.NOMEUTENTE
|
||||
$Sessione = $Sessions.NOMESESSIONE
|
||||
$Stato = $Sessions.STATO
|
||||
$Tempo = $Sessions."INATTIVITÀ ACCESSO"
|
||||
|
||||
Write-Host "Host: "$Server
|
||||
Write-Host "Utente: "$Utente
|
||||
Write-Host "Sessione: "$Sessione
|
||||
Write-Host "Stato: "$Stato
|
||||
Write-Host "Tempo: "$Tempo
|
||||
|
||||
Reference in New Issue
Block a user