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

Creating links for all files in a directory with PowerShell

Greetings! I am %99 new to powershell and am trying to put together a script to help with some document deployment tasks. I am %100 sure i am doing something wrong, please be gentle :) In a nutshell I...

View Article


Parsing ashx web service with PowerShell

Does anyone have any experience with parsing ashx web services via PowerShell? I really don't want to resort to dealing with it as if it were a flat file.Here is the web service I am trying to parse...

View Article


Issue with importing users to AD

Having trouble importing users to AD from a csv. The csv contains: firstname, lastname, password, ouWe will say the record is: test, user1, password, All UsersHere's the script (redacted/changed/ya...

View Article

PowerShell script to modify AD User UPN/saMAcccountName

I have a list of users that need their UPN and samaccountname changed. I found this powershell script off the technet forums and wanted to know if anyone had any better ideas on how to accomplish this....

View Article

Exchange 2010 - Need Report of Each Users Inbound and outbound emails

Hi,So i am in need of some assistance. I need to report to my owners a Daily Report of how many emails each users sends and receives. I need to be able to automate this as best as possible i just dont...

View Article


PowerShell Scripter to Developer

Has any one started down this path? It seems like the next logical step passed scripting. PowerShell is great for automating tasks and performing bulk work and is becoming a developer language with the...

View Article

XLS to XLSX Conversion - Macro issues

Good Morning All,I'm currently trying to run a script to convert all xls files to xlsxI am using a script written here: https://gist.github.com/gabceb/954418The script as...

View Article

Real world usecases for PowerShell classes

I'm trying to familiarize myself with classes, however most of the examples that I've found are so abstract I don't see their application or the benefit presented by classes. Trevor Sullivan did a...

View Article


PowerShell Import Omitted "sn" Last Name

Hello,I was able to successfully import about 500 users with a csv file into PowerShell.I imported all of the following fields successfully with the exception of...

View Article


Writing files to %appdata%

Jared5646 was kind enough to help me get past my first hiccup yesterday (thank you!), but of course today is a new day with new issues!I am attempting to push shortcuts into the start menu folder and i...

View Article

Pass Arguments to EXE with Powershell

So I have an EXE that needs some arguments an examble is myexe.exe - hostname testserver.I want to have a powershell script that can look at a text file and pass the results as parameters to the exe....

View Article

Populating an Object within a PowerShell Class Method?

So, forgive me if I miss use some terms but what I'm trying to do is populate a variable inside a method with objects. My assumption is that it's a string and when you input an object it returns null....

View Article

Get-ADUser isn't accepting Splatting

I'm trying to splat the properties that the Get-ADComputers would return, am I doing it wrong or does PowerShell just not like...

View Article


How to Call a Method from a Method in PowerShell v5 Classes

Powershell[void]SelectColumns($Table){$This.Columns=(Get-DatabaseData-connectionString$this.ConnectionString-query"SELECT COLUMN_NAME FROM Database.information_schema.columns WHERE table_name =...

View Article

Introducing PowerShell Direct for Windows 10 and Windows Server 2016

How might you use PowerShell Direct, the latest addition to the PowerShell family that's coming with Windows 10 and Windows Server 2016? Consider this:Have you ever tried to make a configuration...

View Article


Powershell Loop Help

I want the end users to get a File open box and then select a txt file and have the full path and the file name C:\txtfile.txt put into a $file string that I can use later on in the script.  Also  is...

View Article

Powershell Issue with Variable and Equal Signs

I've been running a powershell script to create active directory accounts at our school from a csv file. I'm needing to have users placed in a specific OU based on what grade level they are in, which...

View Article


Robocopy script to move folders Per File/Folder Owner

Dear All,Do you have any idea for using Robocopy script to move folders Per File/Folder Owner.I means I want to move some file from one folder and its subdir which created by one users.I searched for a...

View Article

Powershell Active Directory Module

Is it possiblethePowerShellActive Directorymoduledetachedsomewheretodownloadand install, without having to installthewholepackage"Remote Server Administration Toolsfor Windows7withService Pack 1(SP1)"...

View Article

Powershell Copy-file: Username & Password

I am very new to powershell (just a couple days). I'm sure its very simple, but cannot find any articles with a clear description.I am working on a script to push one file to multiple PC's listed in a...

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>