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
I have an old server archived and would like to rename all the files by adding the last modified date to the file name. There are many layers of folders in the
I am getting this output from a ping request started from Python with subprocess.run(): >>> process.stdout b"\r\nEnvoi d'une requ\x88te 'ping' sur www.
I have a .env file like this one: TESTCASE_GROUP_SIZE=25 . . . And I want to get its value (read it) into a .ps1 script. How can I do it?
I'm Trying to find a way to copy a users mailbox permissions to another user, I can output the data I need in PS just can't find a way to then apply those permi
I am currently trying to use dotnetcore to run a script over Powershell. This script uses a library that will authenticate with Azure using a service principal
I used the below script to delete bulk users from the ARS portal [Dell Active Roles] Connect-QADService -Proxy -Credential (Get-Credential) Import-Csv "C:\IT\D
I have a few site/domains that someone installed with a foreign language, hence the built in security groups are in localized language. It doesnt help adding a