PowerShell command to execute below SSIS.exe file with no prompting window
HI Please assist me in executing below command, you can see respective .exe file is there in the respective folder. Please assist on this
Add exact upns
Hi All i have userprincipalnames in a csv file in the below format. usernames user1@contoso.com user2@contoso.com i want to add these users to AD group from powershell. if there are any other user with user1.a@contoso.com or user2.a@contoso.com. i…
How can I make it so that a standard user can install graphic drivers/open pre-specified apps with administrative permissions?
I have intentions of making it possible for a standard user on my computer to be able to install drivers without the constant need for UAC prompting for admin password. I'm 90% sure this is possible with the right solution, I just haven't been able to…
How to use ForEach-Object -Parallel in Azure Devops Pipeline Agent.
I want to use a PowerShell script which has below cmdlet. When I tried to use MS Hosted Pipeline agent with Parallel feature I'm getting "Parameter set cannot be resolved using the specified named parameters" error. How can I execute the…
Windows 11 remove apps for all users?
Several years back I put together a Powershell script for Windows 10 to remove all unwanted apps. It would remove them for the current user, as well as from the default user profile template, so that they would not install for new user profiles. …
Can someone explain to me how to Get Mailbox folder permissions in recoverable items use PowerShell? Its possible are not
Get-MailboxFolderPermission -Identity " testid@223.microsoft.com\Recoverable Items"
How to prevent installation of application on system . using cmd or powershell or service?
Why disabling/stopping windows MSI service wont stop installing/uninstalling of the applications?
What is the purpose of enabling Windows Server internal firewall for internal AD Domain servers?
People, I wonder if enabling the internal Windows Server firewall feature is going to be very helpful or not ? Because I must also create the firewall rule to allow RDP on port 3389 and ICMP ping and also the WMI for the PowerShell remoting feature for…
Problemas com a opção "Alterar a senha no proximo logon"
Prezados, bom dia!!! Estou com o seguinte problema e gostaria de entender se mais alguém já passou pelo mesmo: Minha infraestrutura funciona normalmente, porém, quando vou até um usuário e habilito a opção "Alterar a senha no próximo login",…
powershell to get all users and their managers recursively
I am looking to pull all Active Directory users and their managers all the way up to the chain. I get how to do get-aduser -filter * -properties * | select name, manager export-csv -path "csv path" I also get: $Users = Get-ADUser -filter *…
Using Get-Certificate with a Microsoft CA
I would like to use Get-Certificate with a Microsoft CA. https://learn.microsoft.com/en-us/powershell/module/pki/get-certificate?view=windowsserver2022-ps The documentation doesn't really show many examples. Does anyone know how to do this?
Get the Folder GUID using Power Shell
I am trying to get the folder GUID using its URL, i tried this power shell:- #Variables $SiteURL = "https://*****.sharepoint.com" $ServerRelativeUrl= "/Shared Documents/FolderA" Try { #Setup the context Connect-PnPOnline…
No certification
Hello, my name is Aditya Verma. I recently learned and passed all the modules for the course Automating Administration with PowerShell( AZ-040T00). However, I did not find any certifications in the credentials section. I have passed AZ-900 and it showed…
Getting an error in a runbook.
Hi there, I've created a runbook to handle offboarding users in office 365. I'm connecting to the graph API, and exchangeonline module. My runbook is working flawlessly except for one specific line which is giving me an error when ran in the runbook (I…
Issues to create or modify files in Scripts Folder in Sysvol, Windows server 2012 (Access denied)
Issues to create or modify files in Scripts Folder in Sysvol, Windows server 2019 (Access denied) after in-place upgrade the windows server from 2012 R2 to 2016 then 2019
Introduction To Windows Command Line
Question: User4 has a lot of files and folders in their Documents folder. The flag can be found within one of…
export the output
Hi all i want to execute the below syntax on few servers and i have created a collection and added the Servers to it. When i execute manually from powershell i get the output but i want to export that output to a text file under c:\windows\Temp folder.…
Intune PowerShell - Enforce script signature check
Could someone explain the PowerShell script Enforce script signature check in the Intune Portal? https://intune.microsoft.com/#view/Microsoft_Intune_DeviceSettings/DevicesMenu/~/powershell There isn't any documentation or instructional piece available…
Change Product Key of Windows Server 2022 using Ansible and/or PowerShell script
Hi there, I am trying to automate the process of provisioning a Windows Server based Virtual Machine using Azure and Ansible. My company has some Windows Server product keys available through the Microsoft Partner Program. My goal is to use one of these…
Windows Powershell and Visual Studio Running Extremely Slow
Hello, I work as an IT support engineer for my company and a user reached out to me saying that they have been experiencing issues with their VS code and Powershell commands running very slow. I recreated the same environment on my laptop, and I had the…