Quantcast
Channel: PowerShell
Browsing all 15370 articles
Browse latest View live

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 Article


Powershell 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 Article


Powershell 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 Article

Bulk 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 Article

Supress/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 Article


Find 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 Article

Powershell 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 Article

Format 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 Article


Bulk 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 Article


Powershell - 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 Article

Need 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 Article

Powershell 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 Article

Forefront 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 Article


Add 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 Article

Running 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 Article


How 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 Article

AD 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 Article


Powershell 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 Article

running 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 Article

run 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
Browsing all 15370 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>