How to Detect Software Installation (Script Check)
Scripting was never my forte but here we go....I have a powershell script which send out a notification email when it detects who installed what software on my file server but it gives me bunch of...
View ArticlePowershell for lastpasswordset on Enabled accounts only.
I've been able to get a list of all lastpasswordset dates on ALL accountsGet-ADUser -filter -properties PasswordLastSet | select name, passwordlastset | export-csv "C:\Users\ME\Desktop\passwords last...
View ArticleCan't run powershell script as a scheduled task; insufficient memory
I just finished writing a powershell script that is supposed to update a powerpoint presentation every 24 hours. The script runs fine in Powershell ISE and I can launch it by right clicking the PS1...
View ArticleNotification Pop-Up Every 1 hour using PowerShell
Hi!Many of my colleagues have chronic back pain.I want to write a PowerShell Script that will freeze everything else, and display"Stand-up! Time to Exercise"I will then use Task Scheduler to run every...
View ArticleUsing Powershell to backup a Cisco router configs
I am trying to create a PowerShell script to logon to a Cisco router, get into privilege mode and output the configs to a text file, however I get the following error:A positional parameter cannot be...
View ArticlePowershell Auto mail
Hi ,I am new in powershell ; Please help to write powershell scrip for auto email via outlook if new backup file not created .we have crated schedule backup 4 time in a day (morning full backup and 3...
View ArticlePowershell Command to display size of files and or directories
Hello all,I am new to PowerShell and have been tinkering around with the cmdlets, help system, and so forth. I'm stuck on how to display the size of a file and/or directory. I've been trying to do...
View ArticleWhat did you accomplish with PowerShell in July 2016?
We're half way through the year and a lot of great PowerShell has been written. The pace of change at Microsoft is stunning as PSGallery (an MVP to be sure), PowerShell 5.0and5.1 and about a bazillion...
View ArticlePowerShell command to help satisfy a Microsoft SAM Audit
Hi Spicers!I'm a newer admin at a relatively small (75 computers, 4 physical servers) manufacturing firm, and I'm being 'asked' by Microsoft to work with them on a SAM audit of my MS software.We didn't...
View Articlepowershell scrip to generate file contain in a folder of 100 system in xml forma
Hi ,Please help me to create powershell script to generate Get-childitem report of shared folder's files in XML format for 100 system.shared is located in D drive of every system .share folder name...
View ArticleReplacing boot.wim in WDS using PowerShell
Hi, I created powershell script to remove and add boot.wim in remote servers. The script works fine if I run it in single server and it works fine if I use batch script to execute powershell in remote...
View ArticlePowershell - can you spot what i can't
Hi fellow powershell experts, i have a quick question to ask.I threw the following code together in a few minutes but there's an issue with it i can't seem to find immediately ( and i got to demo a...
View ArticleFilter Powershell Results
I have a powershell script that has been running in order to get Bitlocker results. The issue is, that it gives me more information that I need,Is it possible to change it so I get only the...
View ArticleForce a group of users to change password
Hi everyone,we recently updated our password policy and the Admin that updated the policy didn't perform it properly. I now have a list of users that may still have an incorrectly set password in a...
View ArticleModify JSON array with Powershell
Hey Guys,I am trying to modify a property in a JSON array with Powershell but I can't seem to get it to work.I can retrieve the property I want to update but when I try to update it it says the...
View ArticleNeed help with a script to selectively delete certain file types
The below script queries a SQL table for a list of job numbers and then compares that list to the actual directory of jobs and looks for matches. For all the matches I want the script to scan each...
View ArticleCombining PowerShell Scripts
I am still learning PowerShell on my lunches but in the interim, I'm using a program called WMIx which generates PowerShell scripts based on your WMI/WQL query. I've made two different scripts because...
View ArticlePowershell & the AD
Hey Spiceheads!I've kinda hit a wall on a project that I'm working on. The task is to find all the files on our file server that are over a year old and notify the user that they should delete them if...
View ArticleModifying the Decrapifier
I'm sure you're all familiar with this script:https://community.spiceworks.com/scripts/show/3298-windows-10-decrapifier?page=1I'm trying to change the way it behaves a little to suit my needs, but I'm...
View ArticlePowershell - Excel export
I have a simple script that get the drive space of any machine I have listed in a text document. I can run the script with no issues, runs as it's suppose to. My co-worker gets no output in excel....
View Article