directory 'sharefolder' do rights :full_control, "rob" rights :read, ["Administrators","Everyone"] path "c:/inetpub/wwwroot/sharefolder" action :create
end
powershell_script "sharefolder-Share" do code <<-EOH
$Shares=[WMICLASS]”WIN32_Share” $Shares.Create("C:/inetpub/wwwroot/sharefolder", "sharefolder", 0 ) EOHend