Next Topic

Previous Topic

Book Contents

removeWindowsFileShare()

Removes file sharing for a folder on the Windows agent machine. Specify the name of the file share to remove, not the local folder name. The Audit > Machine Summary > Hardware > Disk Shares tab lists the shares on an agent machine as of the latest audit. You can create a file share using the createWindowsFileShare() command.

Operating systems supported: Windows

Example

removeWindowsFileShare("#sharename#", "All Operating Systems", "Halt on Fail")