Besitzer eines Dateisystemobjekts ermitteln
Autor: Dr. Holger Schwichtenberg
"Besitzerinformationen:"$a = Get-Acl g:\daten\kunden$a.Owner$a.GetOwner([System.Security.Principal.NTAccount]).Value$a.GetOwner([System.Security.Principal.SecurityIdentifier]).ValueÜbersetzen zwischen Kontoname und SID$konto = $a.GetOwner([System.Security.Principal.NTAccount])$konto.Translate([system.security.principal.securityidentifier]).valueÜbersetzen zwischen SID und Kontoname $konto = $a.GetOwner([System.Security.Principal.SecurityIdentifier])$konto.Translate([system.security.principal.NTAccount]).value
$konto = $a.GetOwner([System.Security.Principal.NTAccount])$konto.Translate([system.security.principal.securityidentifier]).value
$konto = $a.GetOwner([System.Security.Principal.SecurityIdentifier])$konto.Translate([system.security.principal.NTAccount]).value
Liste aller Codebeispiele Definition '.NET Framework Class Library' PowerShell Community Portal