How do i BULK Modify the Phone and Mobile phone attributse using a .CSV file...
Hi I want to Modify the Phone and MobilePhone Attributes for members in a specific OU in our AD. We are using 2008 server. I would like to use Powershell to achieve this. Please help.
View ArticleHelp to customize the script
My all OU has some attribute in its property like APAC X0011, Europe X0012, America X0013 but in naming convention there is nothing which could bifurcate that which OU belongs to which region. So I...
View ArticleMerging PSObjects in seperate arrays with Similar Values
Good Afternoon, I have been beating my head against a wall trying to figure this one out. I am trying to take 2 arrays with sperate information, one from Admin accounts and one from user accounts...
View ArticleGet-WMIObject RSOP_UserPrivilegeRight
Hi,I am trying to find the permission "Manage Auditing and Security Log". I want to find out this for remote computers. I have written a code using Get-WMIObject RSOP_UserPrivilegeRightMain line of...
View ArticleUnable to Automate RDP Using PowerShell
Hi Team,I have Azure - Windows Server 2016 VMs that are being used for testing. so i have a requirement where i need to Remote desktop into these machines and run my test. In this process i wanted to...
View ArticleOnly loops once
$NU = { }&$NU $NewUser = read-host "Add another user?" if ($NewUser -eq "Y") {&$NU}Trying to keep the loop going until I say "No" but it only seems to loop once before it just stops..I'm...
View ArticleImporting AD accounts from a child domain using a CSV file
Hello everyone,anyone can help me provinding a powershell to import AD accounts from a child domain using a CSV file to another child domain, please?Thank you.
View ArticleAutomating Telnet Script
Hi, I need a script which would do telnet the server say 1.2.3.4 and it should populate the user name and password. It should also perform the commands in telent server also.I'm not able to pass...
View ArticleCan help me to develop excel formula for next request?
Hello,I need help to develop excel formula for array data. I've shared file in thissheet that has detail description for datasets, need build report for next request:- how changed number of blocked...
View ArticleHelp with Powershell export to CSV
Hi,Any Idea how to improve that and make it faster maybe? $servers = Get-ADComputer -SearchBase 'OU=Sites,DC=domain,DC=com' -Filter '*' | Select -Exp Name foreach ($line in $servers) {...
View Articlevbs login script hangs in background processes
Greetings, we are using a vbs script over VPN to map the network drives for users . the script works well for some users and for other users the script keep hanging in processes background and...
View ArticleHow to check if an OS Windows installation is GUI or Core?
Hi script guys! Is there an environmental variable or command or WMI query to check if an OS Windows installation was GUI or Core when executing a batch script?Hope I was clear enough.Doria
View ArticlePowerShell: Test-Path if Reg Key Exists Exit Script
Hi I require some assistance please. I am using a script which i found online, to redirect the Downloads folder to OneDrive. I want to be able to run the script via login script, add a registry key...
View ArticleWhois Code Powershell
Hello community! I am a relative novice in creating scripts in Powershell. I just can't find a suitable code to do a WHOIS query. I can of course use Mark Russ' EXE. use, but I would like to write the...
View ArticleCVS Data from multiple files
I am trying to append a column to a csv file that references a second csv file, using a matching column header in both files. The matching column in both files is UserID, for example.File 1 - contains...
View ArticleSCCM + PowerShell Script for removing printers
So I wrote a PS script for removing printers, and it worked fine locally. When I copied it to SCCM, it did nothing. Is the W32 method the only way to remove printers on Win10 machines via SCCM PS...
View ArticleChange DNS ip addressess remotely on multiple computers
Hello There,Thank you for the powershell script on Change DNS ip addressess remotely on multiple computersI tried it but got an error message You cannot call a method on a null-valued expression. At...
View ArticlePowerShell Script to Export Secure Store from SharePoint
Hi Folks,I am using SharePoint 2016 and wanted to export all our secure store id's using PowerShell Script.Best Regards,
View ArticleUnable to retrieve value into a variable using get-aduser
I am using the following commandlet to get the list of last password set and then using a variable to get the value and add -365 to it, however this variable is not getting populated. I can see the...
View ArticlePowershell Get-Disk does not show all volumes in Disk Management?
Hi experts, Since ransomware are more popular recently, I want to create a job to enable a volume, take a backup and then offline a volume. It should be simple use steps like below. However, I find...
View Article