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

Limiting PS Get-Eventlog output

I'm running a PS script to pull security event logs from remotecomputersAny ideas how to limit the amount of information received? Sayfor instance just the first 10 lines of the message content?This is...

View Article


Image may be NSFW.
Clik here to view.

OneGet issue

I downloaded the Management Framework Preview for Feb, and was messing around with oneget and chocolatey.  When I do a find-package, the package is available, but when I do an install-package nothing...

View Article


powershell cmdlets

I am not sure what I am doing wrong here.I am trying to run this Powershell cmdletStart-WSSConfigurationService but everytime I do, I get an error message that says it is not a recognized command or...

View Article

Powershell, import e-mailadress in active directory

Hi, we recently migrated from Exchange 2003 to Office365. Now i need to remove my Exchange installation. When i will press uninstall, the removal will cause the e-mail adress field in the AD to be...

View Article

Image may be NSFW.
Clik here to view.

No PowerShell in command prompt!

Hi Guys,Just FYI...(this happened to me {inlab}, so just in case)Scenario - Server 2012R2. YOU CONVERT A GUI-SERVER TO COREand want to convert it back to GUI...Problem - After rebooting, somehow you...

View Article


Need help with a paramiter in PowerShell.

The script below works as needed. However, it prompts for a path when executed manually. My goal is to put this in a logon script with no user intervention. I can not figure out how to specify the...

View Article

PowerShell Custom Input Box

Hey Everyone,I'm trying to build a custom input box with PowerShell using the code below and I was wondering is there any way to make the text box as required field? I don't want users to able to leave...

View Article

Issue creating a New Mail User using powershell

Hi AllI'm unable to create a mail user using powershell within Office 365 with what I think is the correct syntax. I'm running:New-MailUser -Name "Bob Test" -Password $password -ExternalEmailAddress...

View Article


Powershell - using file name structure as index for xlsx to csv conversion

Hopefully this makes sense...I was asked to find a way to automate the conversion of certain worksheets within .xlsx files to .csv while using the file name to reference which worksheet to convert. For...

View Article


Help me understand running exes in powershell with quotes.

I was wanting to do a quick uninstall of Office 2010 on a remote comptuer. I chose to use wmic; I know, I know. Now this is the command to run from cmd to see if it is installed:Batchfilewmic.exe...

View Article

Help with simple Powershell script.

Hello I have a simple Powershell script that I plan on expanding upon. I have made other menu based scripts before, but for some reason I can't seem to get this one to work and I'm just not seeing the...

View Article

A guide to syntax differences between batch and PowerShell

If you've recently made the switch from cmd.exe shell scripts to PowerShell scripts, you might be having some trouble acclimating to the syntax of PowerShell. Between the different characters,...

View Article

Power shell script to email a follow up reminder.

This might be a bit of a weird request, and I'm still learning the ropes with Powershell. We're running an MS exchange environment with outlook. Right now I have a script that sends an email out to...

View Article


Can you retroactively apply folder security?

SBS2011 Active Directory environment.We need to have our folder security setup as follows:Project Folder++---Documents - PM only R/W+---Drawings - PM only R/W+---Pictures - PM R/W + Shop Super R onlyI...

View Article

How-To Trim and Replace a Powershell Object

Okay basically I have a Powershell command that retrieves information of a PC such as logged in user, warranty info, model, and Windows OS.I am wanting to trim the output of one object and replace the...

View Article


Working with registry information

Hi, AllBecause I'm exhausted (we're coming out the other end of a full Office 365 migration just 2 days ago!), I'm reaching out to you for help with a powershell script I need to write...This is to add...

View Article

Adding ActiveDirectory Module to Powershell on a DC permanently

I am trying to get my DCs to have the AD module already set up when I start PowerShell.  Everything I find does not help with this, the instructions just tell how to get the module installed on the...

View Article


Inactive computers in AD

Hi everyoneI have a pretty nice script (y'all helped with) that will go through and find workstations that haven't contacted the AD in the last 45 days and emails out a list of computers. I really want...

View Article

Exchange Online - Bulk import Display Name

Hello,I need to update hundreds of display names within Office 365 and was wondering if I could do this with a .csv with contains all the usernames and updated display name?If anyone has done this...

View Article

Get-ADUser DistinguishedName - Powershell Help

Hi Spiceheads, I have a powershell script that I wrote, that pulls all users in AD, their name, their group memberships, and their complete DistinguishedName. For the DistinguishedName portion, I only...

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>