Custom Powershell scripts on Private Server

This topic contains 3 replies, has 3 voices, and was last updated by Profile photo of Rafal Niznik Rafal Niznik 2 months, 2 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #46298
    Profile photo of Rafal Niznik
    Rafal Niznik
    Participant

    Hi Guys

    Powershell is new to me but I want to my adventure with technology from this idea.

    Let's say I'm IT admin working mobile from public internet and connecting to clients networks.
    I create custom powershell scripts that I want to keep on private secured server.
    Because Laptop can be lost or stolen I do not want to keep all this custom scripts on local machine.
    So my question is:
    How to connect to local server using powershell and use some custom scripts on client remote networks
    Please see simple network diagram

    • This topic was modified 2 months, 3 weeks ago by Profile photo of Rafal Niznik Rafal Niznik.
    #46308
    Profile photo of Dave Wyatt
    Dave Wyatt
    Moderator

    I'm not sure I see the point of that. The scripts are going to have to pass through your laptop at some point, and unless you're careful to delete any traces every time, there will probably be copies of them on your drive somewhere.

    If your concern is the loss or theft of the laptop, the right solution is to encrypt the laptop's drive with BitLocker or something similar. I use both a TPM and password on my laptop for this; it's about as secure as I can make it, within reason.

    #46346
    Profile photo of Ian Kelso
    Ian Kelso
    Participant

    So you have a client, and that client needs access to your scripts, but you don't want to be a middle man for those scripts, correct?

    Expose your repository to your client over VPN. You could work with your client's team to create a tunnel between the two public endpoints of those networks so that any traffic traversing them is encapsulated and encrypted.

    Alternatively, you could open access to your repository for your client's source IP(s). Ideally, your repository would have a front-end that you'd be required to login to that can be encrypted via SSL or some other certificate based exchange.

    There should be no need for your laptop to be a middle man.

    #46581
    Profile photo of Rafal Niznik
    Rafal Niznik
    Participant

    That os correct
    I do now want to Laptop to be middle man for those scripts.
    what is the best way and tools to create powershell scripts repository based on login details and access permissions.

    Raf

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.