Dns and Ad Powershell Script help
Hello everyoneI have been facing crazy DNS conflicts off late in my environment which causes a lot of headache for the users and myself as an Admin. i am trying to find a way to pull every computer in...
View ArticlePowershell Gui Creation HELP
Hi guys, i'm trying to get into this as it looks to be so much easier to create for repeatable use.I want to start off small, and try and create a gui just removing a mail forward from a...
View ArticleLooking for some Help
I have a 69 page document that has all of our FTP IP addresses that been run at it lately. and I mean every 2 weeks this runs. This has been taking me quite a long time to get all of this done. But i...
View ArticleScript to Modify ACL of a Set of Folders
Here is my circumstance. We have a Synology NAS that we use as an upload device for our vendors to share artwork with us as well as our clients. The share has windows ACLs enabled so it uses a...
View ArticleImproving script performance
Powershell$TrimmedFile=@()$ListOfIPAddresses=@()$FinalFile=@()$FilesIn="c:\temp\DNS\FilesIn"$FilesOut="c:\temp\DNS\FilesOut\"#Get a list of files in the...
View ArticlePowershell to start and stop services
Hi team ,Looking for a power shell to start and stop the service on remote machines , the server details and service details are in txt fileonce the process is done it should give the output with...
View ArticleServer AD Import-CSV new users to multiple groups script works with no
sorry for not pasting code or text properly, here goes again:hi guys, anybody who can help on this will be appreciated:Server 2012 AD, using csv file to import new AD users, then pipe to add those...
View ArticleProblems running a Powershell script at computer startup
I've spent most of the morning looking at this with no success.I have a powershell script that I'm trying to run at computer startup.So, I've put the script in the...
View ArticleScript for measuring certain process
Hi to all you scripting gurusI am measuring start up time of certain process with very simple do until loop, and would like to refine the script by little optimization.The problem is, that the script...
View ArticleScript To Create Folders
I am a novice at PowerShell but have done some searching to come up with a script to create a subfoldersin other subfolders in a directory...this is what I have so...
View ArticlePowershell "archive" folders
I'm trying to write a simple powershell script that will move any file (and its contents)ending in "14"in f:\test\user*\ to a folder called 2014 in that user directory and others recursivelySomething...
View ArticleWhat Do You Do With Your Functions?
I've come across quite a few very useful functions lately and have decided to start putting them into a single PowerShell module, to make my own toolkit. What do you prefer to do with all your...
View ArticleProcess indicator in powershell
Hi,I have a powershell script, which installs different .exe and .msi files silently and it works finem but due to userexsperience i would really like a way to show the progress indicator, of the...
View ArticleSet-ADUser AccountIsDisabled
OK This should be a quick one. I want to clear the flag in AD which has a user account disabled, and ensure the account is unlocked. Trying "Set-ADUser $Target -Enabled $true" does not appear to be...
View ArticleConvert free disk space to percentage
I have a script that will pull disk size and free space info from remote machines, but I would like it to display the percentage as well. I've tried numerous examples from the internet, but for some...
View ArticlePowershell to Change permissions on fodlers
I have a directory that has %USERS% profiles in it ( apprx 2300 users). right now all users have FULL control to their folders....is there a way powershell can change all the permissions to each...
View ArticlePowershell Script. Help Needed!
Hi,I am looking to write a script to display all users that have not logged in to office 365 within the last 90days and has SkuAssigned = True (accounts that has a licence)I have come up with...
View ArticlePowershell Nested For & Method Confusion
Spiceheads!I'm having some issues with my approach to comparing two collections of objects and eliminating the duplicates. Whenever I remove an object from a list, it crashes the nested ForEach loops....
View ArticleGenerate a report of all jobs in Veeam B&R 7.0 using powershell 3.0
Hi...Can anyone help me out with a powershell script, that could generate a report for all my backup jobs in Veeam B&R 7. Something like a monthly report that provided me more insight.
View ArticlePshell script CSV-import New-ADuser Passwordneverexpires error
hi all,I'm trying to incorporate the passwordneverexpires attribute to the csv file headers with $true/$false arguments per line item/user account, but get this error msg:TextNew-ADUser : Cannot...
View Article