Need help finishing Changes and updates to powershell form
Budget: $30 – $250 USD
The budget for this job is $100.00
I have a powershell form that needs finishing up. My current contractor is unable to finish this at this time.
The problem is some machine never download all the remote files and most machine after downloading the remote files, I noticed powershell stopping and restarting every time its run.
I also would like to add a few commands if it only makes since to add them.
I just paid a contractor to clean up the script. so it's almost fixed. only needing the few issues addressed and scripts added
Error message on some of the machines: Get-SFTPItem : The 'Get-SFTPItem' command was found in the module 'Posh-SSH', but the module could not be loaded. For more information, run 'Import-Module Posh-SSH'.
Error message on some of the machines: The Machine downloads but towards the end Powershell stops and restarts and never runs or finishes downloading all the files.
I also have some machines that work great with no problem at all
Next
Is there is commands we can add to the master PS form “UnitedgSoftwareStart01” and “UnitedgSoftwareCleaning-V5.ps1” to check for missing things that can fix the problem and download whatever it needs? Also, if you want to add a command in the PS form to check the local powershell and update it to the most current powershell, that would be great unless you think that is a bad idea.
Can you add the command to the main PS forms to make windows unblock the PS form located in the following directory’s?
Its something similar to this get-childitem unblock-file. But not sure that is the updated command
c:\UnitedgSoftwareStart01
c:\Unitedgsoftware\UnitedgSoftwareStart01
c:\UnitedgSoftwareCleaning-V5.ps1
c:\Unitedgsoftware\ UnitedgSoftwareCleaning-V5.ps1
Need to add also
Set-ExecutionPolicy unrestricted
I have to run this file everytime manually before PS will run the script for the first time on a machine.
And if any of these make since add them as well. I have had to use these commands sometimes to get a machine to work. If it’s a bad idea or stands a potential to mess up a machine, then don’t add.
Update Powershell:
: PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& Start-Process PowerShell -ArgumentList 'Set-ExecutionPolicy Unrestricted -Force' -Verb RunAs"
Net.ServicePointManage]::SecurityProtocol =Net.SecurityProtocolTyp]::Tls12
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Install-Module PowerShellGet -RequiredVersion 2.2.4 -SkipPublisherCheck
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine
Register-PSRepository -Default
Install-Module dbatools
Install-Module -Name Posh-SSH -RequiredVersion 2.1
Add all the changes to the main powershell forms and send it to me on upwork for both of the following files which I will send to you if your awarded the job.
UnitedgSoftwareStart01.ps1
UnitedgSoftwareCleaning-V5.ps1
I have a powershell form that needs finishing up. My current contractor is unable to finish this at this time.
The problem is some machine never download all the remote files and most machine after downloading the remote files, I noticed powershell stopping and restarting every time its run.
I also would like to add a few commands if it only makes since to add them.
I just paid a contractor to clean up the script. so it's almost fixed. only needing the few issues addressed and scripts added
Error message on some of the machines: Get-SFTPItem : The 'Get-SFTPItem' command was found in the module 'Posh-SSH', but the module could not be loaded. For more information, run 'Import-Module Posh-SSH'.
Error message on some of the machines: The Machine downloads but towards the end Powershell stops and restarts and never runs or finishes downloading all the files.
I also have some machines that work great with no problem at all
Next
Is there is commands we can add to the master PS form “UnitedgSoftwareStart01” and “UnitedgSoftwareCleaning-V5.ps1” to check for missing things that can fix the problem and download whatever it needs? Also, if you want to add a command in the PS form to check the local powershell and update it to the most current powershell, that would be great unless you think that is a bad idea.
Can you add the command to the main PS forms to make windows unblock the PS form located in the following directory’s?
Its something similar to this get-childitem unblock-file. But not sure that is the updated command
c:\UnitedgSoftwareStart01
c:\Unitedgsoftware\UnitedgSoftwareStart01
c:\UnitedgSoftwareCleaning-V5.ps1
c:\Unitedgsoftware\ UnitedgSoftwareCleaning-V5.ps1
Need to add also
Set-ExecutionPolicy unrestricted
I have to run this file everytime manually before PS will run the script for the first time on a machine.
And if any of these make since add them as well. I have had to use these commands sometimes to get a machine to work. If it’s a bad idea or stands a potential to mess up a machine, then don’t add.
Update Powershell:
: PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& Start-Process PowerShell -ArgumentList 'Set-ExecutionPolicy Unrestricted -Force' -Verb RunAs"
Net.ServicePointManage]::SecurityProtocol =Net.SecurityProtocolTyp]::Tls12
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Install-Module PowerShellGet -RequiredVersion 2.2.4 -SkipPublisherCheck
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine
Register-PSRepository -Default
Install-Module dbatools
Install-Module -Name Posh-SSH -RequiredVersion 2.1
Add all the changes to the main powershell forms and send it to me on upwork for both of the following files which I will send to you if your awarded the job.
UnitedgSoftwareStart01.ps1
UnitedgSoftwareCleaning-V5.ps1