How do I get win32_NetworkAdapter to report NIC speed as 1Gb or 100mb
Hi,I have a fairly simple script that connects to computers in a txt file, and then reports the System, Name, NetConnectionID and Speed, however the speed is reported as 100000000 or 10000000, I would...
View ArticlePowershell Script to delete files after "X" days pulling folder paths from a CSV
This is the first time I am posting here so please forgive my formatting:I am using a script to remove files from a specific folder that have a specific extension after a given amount of time. When I...
View ArticleHelp with creating shortcut
Hi all,I am trying to create a shortcut on all user's desktops that opens a certain URL in Internet Explorer but in a certain size, with no menu bar and with a scroll bar.We currently have this enabled...
View Articleopen powershell to a specific folder
Good morning. i am trying to run a scheduled task and have a desire to run a script and have powershell in a specific folder other than default when i open powershell. I am brain numb on which...
View ArticlePowershell to Get Remote Computer Media Type
Hello Spiceheads,Thank you in advance because 90% of my questions have been answered in the SW Community.Here is the deal. I have been tasked to find out which computers on the domain (roughly 150)...
View ArticleCan you have two options for one case in a Switch Statement
So say I want 1 & 2 to run something.ps1 and I want 3 to write something. This is incorrect code but basically what I want:Powershell$path='Z:\New Folder\New Folder\My...
View ArticleWrite Output to File
Hell everyone.I'm doing an import into SQL in Powershell and I need a little assistance to learn how to write the results to a file called success.txt.The...
View Articlepowershell question
Hello experts,how to take result of previous command. i am running the below commandget-cmcollection -name "test"it get me all details about collectionthen I want to use the value of collection id to...
View ArticleRunning powershell scripts on local machine
Hi, I am fairly new to all this PowerShell stuff. Can someone tell me the best way to create a PowerShell Script which includes admin rights. (if it is required)Let me explain: I have a problem with my...
View ArticleHelp with import csv with users and exporting mailbox permission results
Hello,I am new to powershelland have following task at hand that I can use your help.I got a xls file with about 100 mailboxes sam account name column and I want to get results of who has full mailbox...
View ArticlePowerShell
Hi, Where is the best place to learn more about PowerShell (except YouTube)
View ArticleSend Email Attachemnt with Powershell
I have a directory that will get populated every night with a date stamped file.What would be the best way to use powershell to send an email that has the latest file attached to it?
View ArticleHelp with getting powershell script to output to csv
Hello,I have this script that is doing the job that I need it to do, however I cannot for the life of me figure out how to replace the write-output to export-csv and make it work. Here is what I am...
View ArticleScript to set permissions taking WEEKS to finish
I'm trying to give our Service Desk guys full control of our user profile and home directories by running a PowerShell script. This is the script I'm...
View ArticleScheduled task not running
Ok, I have 2 servers at two different sites running skype for business. I've got a script going that I've cobbled together to automatically divert helpdesk calls to one site every other day. It's...
View ArticleOutput results in for loop to txt file
I'm trying to get this script to output the results to a txt file, but I still have a lot to learn about Powershell. This includes how to output the results of a for loop to a txt file. Any help would...
View ArticleCorrecting folder redirection exclusive rights permissions
When our network was setup a GPO was created for folder redirection where the users have been granted exclusive rights to their Favorites folder (all the other folders were set properly without this...
View ArticleSearch for User's using ADSI powershell
Hello,I'm trying to perform a search using [adsi] in powershell that will look at the CN from a CSV file and output the...
View Articleunexpected token in my script
I try to script a log which gets a program name and version and writes it to a...
View ArticleWin 10 Script to enable/disable network adapters
We have a situation with a PC that is used by the public at certain times. We do not want the public to be able to write data from our PC to the Internet (Dropbox, email, etc) as they have to pay for...
View Article