asifm
Members-
Posts
32 -
Joined
-
Last visited
Content Type
Forums
News
20th
EduGeek EDIT Conference
Blogs
Everything posted by asifm
-
I want to copy multiple files can you provide me syntax for xcopy.
-
This will not work on Win 2003 server.
-
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!
-
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!!!!
-
Thanks pcstru! But this is not helpful. I need simple ps1 script, which can do sharing and security for a folder.
-
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!!!!
-
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
-
No, that does'nt worked for me.
-
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...
-
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...
-
Hello, Can i get that batch which the exe please?
-
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
-
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
-
Can i get powershell script, similar to this script? Please help!
-
Hi, The script is finding the exe and running also but not installating while it throws an error , unable to determine the setup version. when we run plugin.exe manully it also asks for the directory path where its base version setup is installed, we need to enter that path over thier and then click next to continue the setup, but while running script it is not inheriting the path which we set as directory /d "%_directory%" Can you please help me to correct this, or any other way where i can achieve this goal?
-
The script is finding the exe and running also but not installationg while it throws an error , unable to determine the setup version. when we run plugin.exe manully it also asks for the directory path where its base version setup is installed, we need to enter that path over thier and then clich next to continue the setup, but while running script it is not inherting the path which we set as directory /d "%_directory%" Can you please help me to correct this, or any other way where i can achieve this goal?
-
I need to run exe after the completion of previous one.
-
But manually it is installing successfully.
-
Hi Planetbrain, Can you write a scrpit something like this one. @echo off set /P _license file=License file path: set /P _directory=New voyager Install Directory: cd\ for /f %%a in ('dir /s /b C:\Plugins\YardiPIInstall.exe') do %%a /qs C:\Test70.log /L "%_license file%" /d "%_directory%" Pause ------------------------------------------------------- This is not executing correctly, throwing an error unable to determine the voyager version means the base version of their setup. please help.
-
Can someone let me know what does this below script does? I am unable understand %temp%\abc.bat. dir /s /b C:\AMB| find "abc.exe" > %temp%\abc.bat call %temp%\abc.bat
-
Hi PlanetBrain, Can you please let me know what is (%temp%\abc.bat) abc.bat in this script? Thanks in Advance!
-
After that code i am getting this error: Unable to determine the base application for the plugin in C:\ Please contact Yardi Systems Customer Service. Click OK to Exit. can you please help me out?
-
Hi jklight, The above code is perfect for me, but only thing is the executable asks for directory path where this should be installed eg: d:\Setup\xyz How can i set the path for this each .exe, all exe will go at same path.
