directory 'c:\\adminlog' do action :create inherits true end powershell_script "shareFolder" do code 'new-smbshare adminshare c:\adminlog' end