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

PowerShell and RegEx Cookbook for 1$

Fantastic value for a dollar.https://www.humblebundle.com/books/programming-cookbooks

View Article


Powershell: Delete User Folders AppData Denied Access

I'm sure this is a pretty common issue but I'm simply trying to delete all user accounts from this array of usernames to remove (excluding the current user, public, admin, etc...) I want to completely...

View Article


Delete Profiles Script Expect

Triedsearching and not found what I was needing, hoping someone super kind could help me with a long dilemma.We only use folder redirectionfor staff and for Students at our school, There files are only...

View Article

GetAD Users NOT in a list of security groups

Good morning everyone! I'm trying to do some maintenance in our AD environment, and disable a bunch of accounts that have not been in use in over 35 days. The trouble I'm having is trying to define...

View Article

Powershell Script Errors

I have been following the Microsoft guide for setting up AlwaysOnVPN and having problems running the following script....

View Article


Robocopy detects files as modfied

Recently moved a data set from a SAN presenting as a cifs to a windows server with a simple folder share. We have a robocopy task to mirror the data set to an identical windows server at another site...

View Article

Powershell Command or Script to Download a PST File

Hello All,Is there a way using powershell to export a users mailbox to a PST file?  We currently use eDiscovery in the Exchange Admin center to accomplish this.  I am wondering if there is a powershell...

View Article

Audio Driver Swap - Scriptable?

Would it be possible to convert the steps below to a powershell script?  If so, could someone point me to a guide or an example that is similar that I could reverse engineer? Open Device ManagerGo to...

View Article


Clearing Cache/Cookies/History from All Browsers

Fellow Spiceworks folksAm looking for some help. I came across a script that supposedly cleans up all browser data (Cookies/Cache/History/Saved Forms, Passwords) from a log on user (IE/FireFox/Chrome)....

View Article


Need Help Setting Up SSL Certificate for RESTful Endpoint with Powershell

I'm trying to set up an SSL endpoint on my server (Windows Server 2012 R2) so that it can receive https POSTs from an external server. I am using a simple REST framework for Powershell called RestPS:...

View Article

I am looking for help with Microsoft Exchange PowerShell.

I am looking for help with Microsoft Exchange PowerShell. I have customer requesting we delete all emails older then 2 years in just 1 folder for just 1 user.  

View Article

Power Shell loop for each ip address

Hey so i have a working code(s) that needs to be run on multiple pc's from a text or csv file. By Ip address. Any help would be appreciated. I need to turn these off (wmi / F&P Sharing) to be able...

View Article

Adding AD module to a Windows 10 1809 PC

I think i am getting my self muddled on what i need,I have a Windows 10 PC that is on 1809, I need to run PowerShell scripts that will pull info from AD so i need the AD module installed.How do i do...

View Article


Scripting Help

Hopefully there is a scripting guru out there that can help me.I am doing some contract work for an attorney's office and they want to move several folders over. Currently all case related material is...

View Article

Power shell loop via txt help

Hey so i have a working code(s) that needs to be run on multiple pc's from a text or csv file. By Ip address. Any help would be appreciated. I need to turn these off (wmi / F&P Sharing) to be able...

View Article


Powershell Office 365 password custom smart lockout

I'm new to the scripting world but is there a script out or is it even possible to set the up "the lockout threshold for an Office 365 E-mail account"? We had an info e-mail account that was hacked and...

View Article

run script from DC on servers listed in txt file, exempt users based on 2nd .txt

I want a script to log off any disconnected remote desktop sessions (not idle, but when they close their session window without logging out). I have a script, shown below, which works on any particular...

View Article


Powershell to enable bitlocker and save key in network share

Hi All,I am sure its somewhere but i haven't been able to find what i am looking forI am looking to enable bit locker and save the key with the host name in a shared network driveIdeally id like to do...

View Article

Powershell to enable bitlocker and save key in network share

Hi All,I am sure its somewhere but i haven't been able to find what i am looking forI am looking to enable bit locker and save the key with the host name in a shared network driveIdeally id like to do...

View Article

return values from workflow parallel

hi all,trying to figure this one out... i want to create a workflow that will get some data from servers in parallel and return a variable with that data so i can use it further down the script...

View Article
Browsing all 15370 articles
Browse latest View live


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