Bereits von “Unknown” geöffnetes File schliessen zum Editieren

Invoke-Command -ComputerName "gpsdc01.germanpowershell.com" -ScriptBlock {"Get-SmbOpenFile | Where-Object -Property Path -Like '*FOLDERNAME*' | ft ClientUserName,Path,fileid"}

Invoke-Command -ComputerName "gpsdc01.germanpowershell.com" -ScriptBlock {Close-SmbOpenFile -FileId 1073741824965}

Unterstützt den Blog und Kanal:
error
YouTube
YouTube
LinkedIn
Follow by Email
Facebook
Google+
RSS
Twitter