Jump to content

asifm

Members
  • Posts

    32
  • Joined

  • Last visited

Reputation

0 Neutral

About asifm

  1. I want to copy multiple files can you provide me syntax for xcopy.
  2. This will not work on Win 2003 server.
  3. Hi Masters, Can someone please help me out? I want a script which can copy some zip files from one server to another server. Need for windows 2003 servers. For eg: From \\server1\share1 to \\server2\c$\temp Note: We have to specify file names which needs to be copied. Installable.zip, software.zip, plugins.zip, hotfix.zip .... etc. Thanks in Advance!
  4. Thanks jklight!! But I need something like below powershell script I am newbie to this. ### ------------------------------------------------------------------- ### Configures Sharing and Security ### ------------------------------------------------------------------- Import-Module WebAdministration function New-Share { #Variables Write-Host "Gathering Variables" $LocalPath = Read-Host "Enter Directory Path" $Sharename = Read-Host "Enter Share Nme" $CompanyName = Read-Host "Enter client OU" $Webuser = Read-Host 'Enter webuser' # Assign the Permissions to Administrators Write-Host "Creating Sharing" $AccessRule =New-Object System.Security.AccessControl.FileSystemAccessRule("Domain admins","FullControl","ContainerInherit,ObjectInherit","None","Allow") $acl=get-acl -Path $LocalPath\$Sharename $ACL.SetAccessRule($AccessRule) set-acl -Path $LocalPath\$Sharename -AclObject $acl # Remove “Everyone” from Share permissions and assign the Share Permissions to “Administrators” Revoke-SmbShareAccess -Path $LocalPath -CimSession $LocalPath -AccountName Everyone -Force Grant-SmbShareAccess -Path $LocalPath -CimSession $LocalPath -AccountName Administrators -AccessRight Full –Force } Please Help, I know is this not correct please write correct for me please!!!!
  5. Thanks pcstru! But this is not helpful. I need simple ps1 script, which can do sharing and security for a folder.
  6. Hello All, I need a powershell script for applying NT sharing and security for a application folder. For eg: D:\Appfolder I want to share this folder with "xyz" name, and give sharing permissions to aspnet and domain admins. Then, in security tab I want to add aspnet and user. The folder D:\Appfolder contains a sub folder i.e. D:\Appfolder\bin this \bin folder should have read-only permission for aspnet group which we added in security tab. I need this urgently , please help me out. Thanks in Advance!!!!
  7. Hi All EduGeeks, I have and Sysinstall.exe and setup.lst file using these , we install all the plugins from the folder. we keep all the plugins in a folder and the exe and .lst file too, just double click the Sysinstall.exe and it starts installing all the plugins. Now the problem is the new plugins require Dotnet framework v4.5, hence after installing Dotnet framework v4.5 on the system, this .exe is trowing error " Please install dotnet 4.5" Below is the contents what is defined in the .lst file [setup] Title=Systems IBM AppName=Applicationx AppPath=F:\Backups Silent=True LicensePath=F:\Backups Can someone please help me out? Thanks
  8. No, that does'nt worked for me.
  9. Hello, I need a powershell scripts, which can execute all exe's which are present in a folder and in their subfolders. For example: 1) c:\New Folder\Admin\Setup.exe 2) c:\New Folder\Commerical\Setup.exe 3) c:\New Folder\Maintenance\Setup.exe 4) c:\New Folder\SSRS\Setup.exe and so on.............. Note: Above all setup.exe are plugins which will go into its base setup, that has been installed at c:\BaseApplication\Voy\ Can someone please write such script for me? Thanks in Advance...
  10. Hello, I need a powershell scripts, which can execute all exe's which are present in a folder and in their subfolders. For example: 1) c:\New Folder\Admin\Setup.exe 2) c:\New Folder\Commerical\Setup.exe 3) c:\New Folder\Maintenance\Setup.exe 4) c:\New Folder\SSRS\Setup.exe and so on.............. Note: Above all setup.exe are plugins which will go into its base setup, that has been installed at c:\BaseApplication\Voy\ Can someone please write such script for me? Thanks in Advance...
  11. Hello, Can i get that batch which the exe please?
  12. Can you get for me a batch file which runs all the exe's form subfolders? Please!
  13. Hi, I need a Batch file which should search the .exe from the folders and subfolder and run those. We are having a base setup which is installed at D:\setup\Baseversion1010. We are supposed to install around 50 odd plugins in that Base setup (D:\setup\Baseversion1010). It is so tidous to do so, please help me to create such batch file which should execute all the exe's present in c:\plugins. Note in c:\plugins there are many subfolders and with that folder the exe resides. Eg: c:\plugins\abc c:\plugins\ghi c:\plugins\xyz and so on. Please help out with this project! Thanks
  14. Hi, I need a Batch file which should search the .exe from the folders and subfolder and run those. We are having a base setup which is installed at D:\setup\Baseversion1010. We are supposed to install around 50 odd plugins in that Base setup (D:\setup\Baseversion1010). It is so tidous to do so, please help me to create such batch file which should execute all the exe's present in c:\plugins. Note in c:\plugins there are many subfolders and with that folder the exe resides. Eg: c:\plugins\abc c:\plugins\ghi c:\plugins\xyz and so on. Please help out with this project! Thanks
×
×
  • Create New...