Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 330205
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T09:39:35+00:00 2026-05-12T09:39:35+00:00

I am working on a .NET internal test tool at the moment. The tool

  • 0

I am working on a .NET internal test tool at the moment. The tool is GUI based at the moment. One of the things I want the tool to be able to do is to run in command line mode. This way we can run it in an automated fashion and have it crunch on some data every day.

We started to put in a Command line mode in it but I am just not happy with it. It feels clumsy-ish and just tacked on. I am looking for a more elegant solution that will scale relatively easily as we provide more functionality to the app.

One of the thoughts I had is modeled after PowerShell and Exchange Server. Exchange server apparently built some 800 cmdlets and then used them to build their UI on top of. This way everything their UI can do, you can do via a script using those cmdlets. I really like that to be honest. It’s elegant and scales naturally as they add more functionality.

What ideas do you guys have for something like this? Anyone out there tried the PowerShell route I mentioned? Share your thoughts.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T09:39:35+00:00Added an answer on May 12, 2026 at 9:39 am

    Powershell scripts allow you to take advantage of .NET libraries and write scripts which are almost as powerful as the .NET code itself. You can do many powerful operations like call external DLLs, use .NET namespaces like System.IO, System.Net, run processes and intercept output, call web services etc. The possibilities are endless. Here, I will show you a Powershell script which assists you in day to day deployment of websites. Everyday, we make changes to web projects, which need to be deployed to development servers, sometimes on beta servers, and finally on the production server. Using this script, you can automate all the manual work that you do again and again on your deployment package every time you upload your website to some server. We use this script in Pageflakes every single day during our local development server upload, beta release, and final production server release. All we do is run the script, go to the server, and extract a zip file on the web folder, and that’s all. The new version gets deployed within two minutes without any manual work at all, and completely removes any possibility of human error during deployment.
    Automating deployment

    i have written a Powershell script does the following for you:

    * Maintains different configuration information for different deployments. For example, different connection strings for development servers and production servers (one or more production servers).
    * Creates a deployment folder using the deployment date, time, and version so that you have a separate folder for each deployment and can keep track of things deployed on a day, e.g., 20061214-1.
    * Copies only the change files and some predefined files to the deployment folder. So, you don't deploy the whole website every day.
    * Copies the web.config and customizes the <appSettings>, <connectionString>, <assemblies> etc., as per the deployment configuration. For example, you can have different connection strings for different servers.
    * Updates all JavaScript files with a version number so that in every deployment, a new file gets downloaded by client browsers.
    * Updates default.aspx automatically with the modified script file name.
    * Compresses all JavaScript files that gets deployed.
    * Compresses all static HTML files using an Absolute HTML Optimizer.
    * Creates a zip file which contains the deployment package.
    * FTP the zip file to a target server.
    

    After the deployment script runs, all you need to do is extract the zip file on the server and that’s all!

    You can easily FTP the modified files instead of copying only the zip file, by changing the FTP part at the end of the script.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 239k
  • Answers 239k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer There are several problems with the code. In addition to… May 13, 2026 at 7:05 am
  • Editorial Team
    Editorial Team added an answer The ColdFusion support matrix lists a limited number of Java… May 13, 2026 at 7:05 am
  • Editorial Team
    Editorial Team added an answer SELECT SUM(CategoryScore * PercentOfTotal) as RawScore FROM ( .....subquery here.....… May 13, 2026 at 7:05 am

Related Questions

I've got a rather confusing problem. Web Service A - Called directly by Win32
I am working on creating a web app that will query event logs on
Background Info I am working on setting up a method for my company's developers
I am working on an ASP.NET MVC project and I am trying to get

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.