Content
New-MsolUser : You have exceeded the maximum number of allowable transactions. Please try again later.
I've been using this code for more than 2 months. And just got error 2 today ago. So I use this code : Import-CSV –Path C:\Office\4.csv |ForEach-Object { New-MsolUser -UserPrincipalName $_.username -DisplayName $_.displayname –Password $_.Password…
How to install SmbBandwidthLimit in Powershell?
I am trying to install SMB Bandwidth Limit feature but I am getting error, showing "The SMB Bandwidth Limit Feature is not installed". When I am trying to install it using Install-WindowsFeature FS-SMBB , it is showing "The term…


Error when adding many office users with powershell
I'm trying to create a user (office365) using powershell a lot Import-CSV –Path C:\PODCAST\file.csv |ForEach-Object { New-MsolUser -UserPrincipalName $_.username -DisplayName $_.displayname –Password $_.Password -UsageLocation $_.Location…
How to change the bytes in and bytes out value using netsh?
I was monitoring the network traffic of my machine using netsh command. When I have used netsh interface ip show subinterfaces command, it shows all the network interfaces along with other parameters, like "bytes in" and "bytes out".…


Delete/Add A/PTR Record script
I need help with below script and what is wrong with it param( [Parameter(Mandatory=$true)] [string]$ARecord, [Parameter(Mandatory=$true)] [string]$Zone, [Parameter(Mandatory=$true)] [string]$DnsServer ) # Check if A Record…


Unable to run Set-Transport Config from Powershell for Office 365 Tenant
![156412-error.jpg][1] [1]: /api/attachments/156412-error.jpg?platform=QnA I am unable to run the Set-Transport keeps coming up with this error Set-TransportConfig : The term 'Set-TransportConfig' is not recognized as the name of a cmdlet, function,…


Text 4 Shell Vulnerability
Hello All, I am having the Several systems which is having the Text 4 Shell vulnerabilities. The recommendation is to remove the .Jar file or Update the .Jar file. Can anyone please advise on how to remove the .jar file from all the systems. It is on the…


What permissions are required by an Azure app to call a Teams powershell command?
I want to connect powershell to a Teams tenant using Application-based Access Tokens and then execute the Get-CsCallQueue cmdlet. I can connect successfully with my AppID but I get permission denied when I execute the cmdlet. Does anyone know what Azure…


How can I connect to my Azure account?
"Hello, I accidentally deleted the verification code for my authentication app, which prevents me from accessing my Azure account. Is there a solution to reconnect me?" I hope this helps!


how to get the list of applications report(.csv file) assigned to user in azure using Powershell(Script)/Command.
Hi, I need to download the report for the list of applications assigned to the user in Azure AD via PowerShell Script/Command . need help in this , thanks in advance.


how to get reverse lookup zone when adding new A record and PTR with powershell
I am trying to create new A and PTr record in DNs but I dont know how to lookup the reverse lookup zone or the IP any idea?


How to copy folder/subfolders from source to destination using csv in powershell
Hello, I am a new to Powershell and I have been given a task to copy all folders/subfolders files from source to destination using csv file in powershell. I have managed to pull files from source to one destination but what if I need to copy the same…


Need script to sent Email of cpu and diskspace and memory usage on a list of server windows server
Need powershell script to sent Email of cpu and diskspace and memory usage on a list of server windows server


Connect-ExchangeOnline: Write-ErrorMessage : Expired or Invalid pagination request. Default Expiry time is 00:30:00
I wrote a script a while back that gets the the UserPrincipalName, DisplayName, LastLogonTime, CreationTime, Inactive Days, MailboxType, AssignedLicenses, ItemCount, MB Size, and Roles from MSOnline and Exchange Online. It works fine on one server and my…


Unattended Scripts to connect
For the MFA enabled account I need to run the PowerShell scripts without any user intersection for the below connections 1.Connect-MsolService 2.Connect-SPOService 3.Connect-MicrosoftTeams Please help to get the steps to connect.


What is MinBandwidthWeightAction in NetQos Policy?
I was searching for a command to allocate a certain value to the bandwidth and came across the MinBandwidthWeightAction parameter of NetQosPolicy. Does anyone know what is the function of it?


add normal user or users to local administrator group for certain time through GPO and PowerShell
Hi besides adding a normal user to the local administrator manually on his computer. how to add a normal user or users to the local administrator group on their computer for a certain time, where the user or users are automatically removed from the local…
How to extract used or free ips for all vnet with ip address space in powershell script
Extract used or free ips for all vnet with subnet and also giving the ip address space for bith vnet by using powershell. and also get the result for extracting output in CSV file.


windows winrm server keeps replying 400 when I try to send encrypted kerberos message over HTTP
To start with, our product is written in Java, we use a custom transport that wraps org.apache.http.client and javax.security.auth to communicate to windows Remote management service. What we have now: firstly we authenticate through kerberos, then send…


How to give random bandwidth value using Windows Powershell?
I want to assign a random bandwidth value to my Windows machine using Powershell only. Does anyone know any commands to do this?

