NTFS Permission Report
hi All,quiet new to powershell, so Google and other sources have been my friend. I have a small issue where I have been tasked with outputting all NTFS permissions using a script for the Auditors. I...
View ArticlePowershell Project this Week: Issues With Invoke-Sqlcmd
I'm a bit confused here. I have SQL Server 2012 Express installed. I made the same mistake plenty of people do in thinking the BACKUP command's retention would be fully automated (my mistake for not...
View ArticlePowershell to delete old local profiles..help!
I have put together the following script but keep getting" remove-item : Access to the path "C:\Users\user1\AppData\Local\Application Data is denied"this is strange because am running script with Admin...
View ArticleBulk Edit of all AD accounts
I have been searching the internet for a while now and have made progress but I am struggling with the completion of my script. I am new to programming and have done a few things already but I think I...
View ArticleSupress/Mute/Quiet Job Status Output
I know next to nothing about jobs and this is a script I have adapted from someone else. The issue I am having is that I am getting output about a job I am waiting for to finish. For the life of me I...
View ArticleFind all files with certain extension older than x days
I am trying to find all OST files on a network drive that are older than 29 days. I am learning PowerShell so I am having difficulties stringing together multiple where parameters. What I have so far...
View ArticlePowershell save email attachment and delete
PowershellNeed a little help here. I an working on a script that goes through a mailbox and saves the attachment based on the subject. I have that piece working just fine but when I add the lines to...
View ArticleFormat the Output of CSV
Hello Everyone,Kindly help me out in Formatting my output that I get after performing the Difference between the two CSV's.The Two CSV's are below :First.csvFrom,Subject,ReceivedTest Mailer,Test mail...
View ArticleBulk Enable-UMMailbox with SIPResourceIdentifier Error
Hello, I'm relatively new to Powershell but from what I know this script I'm trying to use should...
View ArticlePowershell - problems combining parameters with windows form build
I don't know if it's normal but if i include the following linesPowershell[void] [System.Reflection.Assembly]::LoadWithPartialName("System.Drawing")[void]...
View ArticleNeed a script to discover privileged rights of users and groups in AD
I need a script that list privileged rights as they are granted to users throughout an Active Directory domain regardless of the group memberships of the user (and independent of AD built-in group...
View ArticlePowershell script to download ftp file from ftp site on remote servers
I am needing to download a file from my organizations ftp site to about 20 remote servers simultaneously. I have created a PS script that will do this locally and it works fine. What i mean by this is...
View ArticleForefront Identity Manager
Can anyone enlighten me on the following please?The place where i work has a few systems interacting from where i am trying to check a few details concerning the creation of user accounts. We have AD...
View ArticleAdd user to folder security to bypass UAC
Currently when I build a server, I put a service account running the web site(s). Currently I am getting an error "the directory specified for aching compressed content is invalid" in event viewerThe...
View ArticleRunning an exe on a remote computer
We have a licensing server that sometimes goes down and my users call me because they cant open their CAD software. To fix the problem I have to remote into the license server and run an exe to read...
View ArticleHow to put variable in a powershell script?
Hey,I have a Powershell script that requires me to fill in the variables, but I don't exactly know how.For example how to fill in the SourceMailbox?Thanks. :)p.s....
View ArticleAD Auditing script
hi Team,I have come into another bump on this auditing issue, I have been asked now to break down AD into - Users via membership of Groups- Role's permission and members and then highlight any...
View ArticlePowershell scriptlet to enable a group policy
I've got a Windows 10 Laptop that we have to deny write access to external drives for security reasons. This laptop is isolated on its own network. Occasionally, an administrator needs to move some...
View Articlerunning Multiple scripts
I feel idiotic asking this because I feel the answer should be simple, but I am havinga hard time finding the answer.I need to make multiple changes in AD, upwards of the 30's and 40's, and I need to...
View Articlerun remote command
I have this code: $uname = (Get-WMIObject -class Win32_ComputerSystem).username $pcname = read-host "Enter computer name" $i = Get-WmiObject -Class CCM_Program -Namespace "root\ccm\clientsdk" |...
View Article