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
We have a master registry within our on premise SharePoint environment, to keep this list accurate, we run a clean up script each day to remove the item within
So I am trying to fetch all sign-in logs that fails a particular Conditional Access that have been set in Report-Only mode. The cmdlet is in preview and is unab
I have a .NET Core application used by many clients. Each client has its own subdomain. Each client has its own database. All databases are identical. Different
I want align the taskbar of windows 11 to the left side using PowerShell. I did this: New-ItemProperty "HKLM:\Software\Microsoft\Windows\CurrentVersion\Explorer
I'm new to PowerShell and am still learning the ropes. I want to create a script for work that I can force a change at the next logon for many users. I have thi
I'm trying to implement log shipping using Backup-sqldatabase command, but SqlCredential is a required parameter for Azure Storage uploads according to the docs
Asking for a bit of help on my script. I would like to get a list saved to a thumb drive with the computer name and the WAN address. I know I can add a custom l
If you assign a role in Azure and later delete the identity before you delete the role assignment, you wind up with an "Identity not found." condition. It's har
I have a PS script with an embedded condition. If true, it displays a prompt. If the user enters "R", the PC is supposed to reboot. Everything works well when
I'm trying to do an network access control audit by grabbing a user's AD groups, their descriptions and then output them in a way shown by this example: [User]
From How to Write a PowerShell Module Manifest I learned that I can export all the variables in the module using VariablesToExport = '*'. However, after using i
We have a third party LDAP system managing people. AD users that represent actual employees are created and maintained by a feed from this LDAP system. We would