Powershell to audit NTFS and Share Permission changes
I am attempting to write a script that will audit NTFS and Share permissions on a file server. Auditing and outputting the results is fairly simple, but I would like to know if it is possible to...
View ArticlePowerShell - Rename Local Admin Account to Service Tag
Hi all,I'm trying to rename the local Administrator account to the Dell Service Tag on newly created PCs, but I'm running into issues with my PowerShell script. So far I have:Powershell# Rename Local...
View ArticlePowershell Store Credentials Multiple Hosts
I'm working on a script that'll execute under conditions triggered by our UPS. I'll like to do this securely. We have ~7 hosts that could run this. If i useread-host -assecurestring |...
View ArticleGenerating all users for Onedrive via Powershell
Can anyone PLEASE help me. How can I generate a script that returns all the users and files in Onedrive DIRECTORY through using Powershell.
View ArticleUn-Zip File / Rename / Sort into new folder
The script below currently works fairly well,It Un-zips the filePlaces it in a "temporary file"then files it underneath the month / date / year folder.What I am having trouble with, is that I can't...
View ArticleScript generating listing of Files/Folders on OneDrive, fromTHE CLOUD, not local
Please help me generate a scriptThe objective: 1. To get a listing of Files and Folders on OneDrive from the Cloud, not the local PC. Is there a script2. Here is the script that I have so...
View ArticlePowershell Script not running as Scheduled Task
I'm trying to run the script from https://gallery.technet.microsoft.com/Password-Expiry-Email-177c3e27 I've corrected the variables for my environment and I'm able to run it from my workstation and the...
View ArticleSharedMailbox SendOnBehalf Powershell help
Just checking if anyone already has done this.We are working on converting some user mailboxes that we have been using as shared mailboxes (because until earlier this year shared mailboxes only had 5GB...
View ArticleI need to run remote server power-shell run as administrator any help
I need to run remote server power-shell run as administrator any help
View ArticleUse PowerShell to rename files in a folder from a list contained in a text file.
We currently have a folder of .jpg images that we want to rename. The new file names are contained in a text file. The file name is currently "Roller_mirageduo_Aura_Gold_RD01113.jpg" and the...
View ArticleCopy *.png with New-PSDrive
I need to copy all *.png files from c:\ of my pc to an another pcIf i specify the single file no problem, for example "4.html" but if i want to copy *.png doesn't work !Any ideas...
View ArticleSend Mail with inline embedded images with powershell
Hi, i want to make a report with many images embedded, someone has already dealt with this issue?
View ArticleCreate a mixed array
Hi, my goal is creating a dynamic array $images.I want to make that $file.BaseName = $file.FullName The result must be as...
View ArticleGet-Childitem on Multiple Locations in User-Defined Variable
I made a Powershell script to replace Corel's QuickFinder utility because we're getting rid of the remaining instances of the Wordperfect suite in favor of MS Office. This is what I...
View ArticleSelect Txt value and check status
Hi ! I'm trying to check this file .txt, it's a disk health report.My goal is to select a single Line: Health Status : Good (100 %)ThenI have to check the status:If -eq (100 %) write-host Ok If -ne...
View ArticlePowerShell Quick One
Morning All!This is a really quick one I know, but I can't figure it out: So I want to export all computers from my AD and include the name, o/s, logon date,enabled and OU location in to CSVthis is my...
View ArticleCreate a table with specific colum % width
Hi, i have a txt file in each computer, I want to pick up a few rows and save in only 1 report file .html.These are the problems:1- Each colum () in report.html has different size2- There's a duplicate...
View ArticlePermissions Issue / Membership Issue
Working out some bugs on my new user script. I ran into a couple of issues and have done some research and still running into issues. Here is the script:...
View ArticleRun Powershell script from a UNC as a Scheduled Task
Scenario: I have a Server 2012 scheduled task to execute a powershell script that resides at a UNC location. This task has been running for over a year without a problem, but about two weeks ago the...
View Article