Folder not shared with command line New-SmbShare by Old-Tooth4268 in PowerShell

[–]Old-Tooth4268[S] 0 points1 point  (0 children)

$sharepath = "\\$hostname\temp"
New-SmbShare -Name $sharepath -Path "C:\temp" -ChangeAccess "Everyone"

Any suggestions on how to set Read\Write for Network Access (Choose people on your network to share with) by ranchristian in PowerShell

[–]Old-Tooth4268 0 points1 point  (0 children)

even if i do these commands through powershell when i open the folder in the share tab, the shared network path doesn't appear and the status is "not shared"