Assuming Get-Foo and Get-Foo2 and Deploy-Jobs are 3 functions that are part of a very large module. I would like to use Get-Foo and Get-Foo2 in Deploy-Jobs's S
I have a folder with more than 1000 file extensions. This is a sample of my files. AFG.cpg AFG.dbf AFG.prj AFG.sbn AFG.sbx AFG. shp AFG.shx AFG.cpg AGO.dbf AGO.
I use a HANA 2.0 database. I want to export a table or a sql query from the database to an external client as fast as possible and using a command line (i'm on
So, this is my first script ever and I'm not an programmer. Infact, im an 15 year old student, so dont expect much from me, but I need to write a script to crea
So i was wondering if there was a way to remove all of the "&" when you're running an instance of cmd with arguments through PowerShell For example: start-p
PowerShell or WinSCP – need to download the file and folder structure and delete the file which ever is copied and delete the file but not folder structur
I am new to this so please apologise if I missed some information. I have the following situation: I have a employee list in CSV and I need to update existing u
I'm thinking about writing script that convert my existing CSV file to XLSX file so I been following this post https://code.adonline.id.au/csv-to-xlsx-powershel
I have this script that I need to use to retrieve the data of a particular user "ADTuser" from a list of servers the script works well, but the output file wit
I made powershell script that [1] accepts 2 arguments (aka parameters), [2] changes a file's modified date & time, and [3] writes something to host. The fo
I am using Windows 10. The result of $env:PATH is different for Windows Powershell and VSCode integrated Powershell. I need the VSCode integrated Powershell to
I read on my Windows based systems (via Remote Powershell) what is installed on their computers. This creates a report. I am having some difficulties looking in
I'm trying to find a solution to remove a user from all the distribution groups they are in. I found this script but am running into issues: $email = Read-Host
I would like to create a powershell function or cmdlet that would allow me to quickly navigate to files and function like the example below. Could someone enlig
I have a powershell script that reads and parses a text file. The file is read into memory and then processed line by line. When I switched from Powershell 4.0
I'm trying to pull all Confluence pages in my instance that haven't been modified since 1/1/21. I was able to get all of the parent pages that haven't been mod
Can someone please help me to do the following more efficiently? I am running this code 4 times for updating specific below protocols/file types. I would like t
I need to fix the below script where the goal is to set the UserprincipalName to the same as the ProxyAddress SMTP: (PrimarySMTP) entry. $paramGetADUser = @{
I need to test two strings, which contain paths, for wether they point to the same directory or not. Simply using a string comparison fails when comparing C:\Wi
I am trying to run a batch file from a powershell script that is a scheduled task. The script sets up a filewatcher and in the action block it calls a batch fil