external help file | Module Name | online version | schema |
---|---|---|---|
ComputerManagement-help.xml |
ComputerManagement |
2.0.0 |
Get a list of files open on the server
Get-OpenFile [[-ComputerName] <Object>] [<CommonParameters>]
This function returns a list of files open on a given server. The output is similar to that of the Manage Open Files from the Share and Storage Management console.
Get-OpenFiles -ComputerName fs
User Path LockCount
---- ---- ---------
User1 F:\Users\User1\Documents\Data\... 0
User2 P:\Public 0
This example shows the basic usage of this command.
The NetBIOS or FQDN of the computer
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: (hostname)
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
FunctionName : Get-OpenFiles Created by : Jeff Patton Date Coded : 09/26/2011 13:01:38