Find Jobs
Hire Freelancers

Powershell Script - Further Changes

$30-250 USD

I përfunduar
Postuar over 3 years ago

$30-250 USD

Paguhet në dorëzim
For @ibrahim20: (Read it in the word document attached for better formatting) Based on what is already done in the previous project, I look for following new requirements: - Add Server, Database and BasePath in configuration file. Review Sample Configuration file. - In current design, I can have ONLY ONE StartsWith, ONLY ONE EndsWith and ONLY ONE Contains. This is restrictive. For example I want StartsWith “ABC” or StartsWith “DEF”. So following is proposed: - Use a list (array) of Tasks. Each Task is a scripting task. o ObjectType can be Table or View or StoredProcedure or Funciton o Filter should be Regex expression (always use -match and not -like). (e.g. Expression starting with ABC should be “^ABC”. Expression Ending with ABC should be “ABC$” and contains will become “ABC”. o Location Filename will be name of the object .txt and it will be stored in $BasePate + $Location.  If the folder does not exist, then create it.  If the file already exists, then overwrite it (instead of append). - I also want to define Scripting Options in the config file. Following Scripting Options are important: (Reference: [login to view URL]) o AnsiFile o AnsiPadding o ScriptData o ScriptSchema o ScriptForAlter o ScriptForCreateDrop o Indexes o Triggers I don’t know what is the best way to put Scripting Options in the config file, so that its easy to use. But I want each task to have own set of scripting options. o For example, I want to have one task to ScriptData (of filtered set of tables). o I may want to script Alter statements instead of Create Statements. o I may want to script Drop (if exists) statements before Create options. o I want to script all constraints and triggers. (We can discuss on this) Attached is an example of how a table is scripted by current PS script and how I did it in SQL Server Management Studio, using Options from “Generate Scripts” dialog and selecting the options. I need to script the way its done by “Generate Scripts”. The Ultimate Goal: o My goal is to run this script and output files in a specific folder. o This script should be scheduled to run every night. o A next piece of script (not included in this task/project) should push the generated code (scripts) into a GIT repository and commit. All changed files should get committed with new version. If script is exactly same as what it was in last script generation, then no GIT will keep the old version.
ID e Projektit: 28920408

Rreth projektit

1 propozim
Projekt në distancë
Aktive 3 yrs ago

Po kërkoni të fitoni para?

Përfitimet e ofertës për Freelancer

Vendosni buxhetin dhe afatin tuaj
Paguhuni për punën tuaj
Përshkruani propozimin tuaj
Është falas të regjistrohesh dhe të bësh oferta për punë
I dhënë për:
Avatari i Përdoruesit
Hi, I am a c# developer for past 7+ years, Have developed many C# windows and web Application(Asp.net ,MVC, Enity framework). Also have been worked with fortune companies and received appreciation. Have experience in javascript, jquery, Angularjs etc., Also have experence in SQL,SSIS package., have written lot queries for large size database
$50 USD në 7 ditë
4,9 (7 përshtypje)
3,8
3,8

Rreth klientit

Flamuri i UNITED ARAB EMIRATES
Dubai, United Arab Emirates
5,0
6
Mënyra e pagesës u verifikua
Anëtar që nga gush 29, 2009

Verifikimi i klientit

Faleminderit! Ne ju kemi dërguar me email një lidhje për të kërkuar kredinë tuaj falas.
Ndodhi një gabim gjatë dërgimit të email-it tuaj. Ju lutemi provoni përsëri.
Përdorues të regjistruar Punë të postuara
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Po ngarkohet shikimi paraprak
Leja u dha për Geolocation.
Seanca e hyrjes ka skaduar dhe ke dalë. Hyr sërish.