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

Count Number of Disconnected Mailboxes

I am just pulling a blank on this. I know it is way to simple but here goes.I have a script that deletes disconnected exchange mailboxes after 60 days. Well turns out that it was not running because my...

View Article


Windows 10 Custom Start Layouts not applying

Hello again, fellow Spiceheads,Since my last attempt at pushing a custom Windows 10 Start Menu layout (post-image) floundered and died when the ICD/provisioning package approach didn't work, I threw...

View Article


How can I learn PowerShell scripting by myself?

What's the best way to learn PowerShell scripting alone? How did you learn PowerShell scripting? I have only basic knowledge of PowerShell. I also do not have any software engineering skills.    Any...

View Article

Hadoop vs PowerShell Challenge

Any try the Hadoop challenge?  http://foxdeploy.com/2016/03/01/powershell-challenge-beating-hadoop-with-posh/I got mine to about 4 minutes, but got smoked by the guys doing 1 and a half minutes....

View Article

AD script to return groups a user is a member of based on selective critera

am looking for a Powershell script that will return the AD groups that a user is a member of based on selective criteria. i.e. return only the groups that they are a member of that contain "T5" in the...

View Article


Learning Powershell

A commonly asked question here is: how do I learn PowerShell. This post presents common responses. Please read this, and look at the resources as they might help to get you started with PowerShell!...

View Article

How do YOU learn PowerShell

How do/did you learn PowerShell?Please vote for your options and feel free to add more options.

View Article

whatif command in pwoershell

Hi i am new to powershell but want to learn it i have been informed about the Command "-WhatIf" but whenervr i try to use it i get errors can anyone give me a valid command ie "get-clientaccessserver...

View Article


Searching for PST files on remote servers

We have a fileserver in every branch office, and the same user share on each fileserver. All the branch servers are in the same OU in AD. I am looking to scan them all for *pst and put it all in a .csv...

View Article


Trying to manipulate a CSV exported in Powershell

Hi everyoneI have a very easy script that exports all of our terminated users. On a monthly basis I need to provide this script to our Help Desk so they can run it through an external process. The...

View Article

Connecting to SFTP server with PowerShell.

Hi, I am using PoverShell POSH-SSH module to connect to SFTP server.I am getting error message about the credentials in the script. The credentials are ok, I have test them with...

View Article

roomNumber is Microsoft.ActiveDirectory.Management.ADPropertyValueCollection

PowershellGet-ADUser-Server"server.domain.com"-Filter'displayName -like...

View Article

Find, List, and Remove disabled users from distribution & security groups?

I have found a couple scripts on here that will remove disabled users from distribution groups, but not from security groups also.  Is there also a way to first list them and then ask if it's OK to...

View Article


CLIXML vs CSV

Hi All,I've been looking lately at making scripts function differently based on settings files. The idea being that I can generate a fairly generic script and any specifics are defined by the settings...

View Article

Query directory for NTFS permissions for a particular user

I am struggling to crack this one.So for example:Powershell$dir=\\server\share\dir1\dir2\target_dir$account=DOMAIN\service_accountI want to query the NTFS permissions for $account on $dir.The task is...

View Article


Access creep prevention script

Good morning Spiceheads!!I've got a concept for a script, but I'm really not sure what the Best Practices are for writing this one. Permissions Creep in all companies is a real problem; and for my...

View Article

Need help scripting this for an OU, please help!

I need to replicate these steps on an OU, I have done is to 5 users manually and all mail flow is now working, I still have another 150 users, is there any way I can script this to run on an OU and I...

View Article


PowerShell Out-File, Send File as Attachment

I currently have a script that checks MX Records and writes it to an HTML report. I'm trying to get it to send that file out as an email attachment.If I separate the 2 scripts it works without issue....

View Article

powershell not importing commands, requested remote commands would shadow

"requested remote commands would shadow existing local commands"I am trying to set up GAL Segmentation, following...

View Article

PowerShell Script to Check Physical Memory on Remote Domain PCs

I am new to PowerShell.  I'm looking for a script that I can run to check the physical memory in remote workstations.  I'd like to be able to run said script and have it return the amount of physical...

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>