CamFlyerCH / FileShareUtils

Powershell module to help with all file server tasks without using WMI
MIT License
12 stars 3 forks source link

Set-NetShare without modified params produces errer #1

Closed CamFlyerCH closed 6 years ago

CamFlyerCH commented 6 years ago

The Function tries [Netapi]::NetApiBufferFree($bufptr) | Out-Null

But since there was no change $bufptr is not initialiezed.

Move the line up in the If - case

CamFlyerCH commented 6 years ago

Pushed Verion 1.0.16 with Bug Fix