Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Browsing all 6937 articles
Browse latest View live

What Version of Azure PowerShell am I running?

Unable to find a decent answer to this question on all of the internets I checked, I figured I'd better step up to the challenge and answer this simple question.Read More

View Article


Breaking Down PowerShell's Scope

One constant about PowerShell is that someone is always learning it. So I shouldn't be too surprised to get e-mails or tweets about beginner topics. It helps remind me that Prof. PowerShell needs to...

View Article


Outlook 2013 Calendar appointment with invitation.

Hi all,I have a ps script that i am attempting to use to automatically set appointments through outlook 2013 that is an exchange account. Everything works except i cant seem to figure out how to send...

View Article

Need Test connection output in the csv file

Hi,I am completely newbie to Powershell.Just I am trying to ping multiple VMs using the scripts. I created a file with list of...

View Article

remove users disable from a group

Hi I would like to remove all the user disable in a specific group. Because I have users in a group that are no more used (disabe in the active directory). How can I do that: Remove-QADGroupMember...

View Article


CBT Nuggets Announces New Windows PowerShell Video Training Course

CBT Nuggets announces a new video training course, "Windows PowerShell v2-v3-v4 Ultimate Training."During this comprehensive 90-video course, trainer Don Jones covers everything an administrator needs...

View Article

PLURALSIGHT PLAY BY PLAY DISCOVERING POWERSHELL WITH MARK MINASI TUTORIAL-kEISO

kEISO has released the new tutorial “Play by Play: Discovering PowerShell with Mark Minasi” from Pluralsight.Read More

View Article

Output of a Script to a .txt File

Hi All, First time posting here and very new to powershell and scripting in general so thank you to anyone for their help.  I've read the "Redirect output of a script to a file" thread and have...

View Article


Changing color when the value reaches a set threshold

I erally need help with this. I have this block of code that is put into a html report. I trying to change the color of the output on the free space only @{n='FreeSpace (GB)';e={"{0:n2}" -f...

View Article


Disable AD Computer from txt file and move it to target OU

This is the script I have, but something is not right. Import-Module ActiveDirectory$computers = get-content "C:\disabled computer.txt"foreach-object{$computer | disable-adaccount$computer |...

View Article

AD member list Script

First time posting but hello there users!I am novice, at best, and I was wondering if I could get a script that shows all the users of a certain security group while also filtering it to only show...

View Article

changing string in XML files in multiparty folders

Hi, I have folders and sub-folders, I need to fine all XML files in the folders and change a string in every file "XYZ" to "ABC".I wrote this lines:# set folder path$path = "C:\temp\" Get-ChildItem...

View Article

Get-mailboxfolderstatistics question

hello,How do I setup a powershell script to filter for the inbox item count for 2 specific Exchange 2010 mailboxes? Thank youGordon

View Article


Query All servers for linked servers and datasources

hi all - I'm a Newer DBA and my boss has assigned me to look on all our servers (126 of them) and find all the linked servers that are pointing to an oracle database.  Of course, I thought of...

View Article

Output result of Get Last Logon.ps1 to csv

Hi All, I'm sure that this is a really easy one but I'm newb to Powershell and its delights and am really struggling. I am trying to output the results of the Get Last Logon.ps1 to a .csv file. This...

View Article


Question on how to split a string based upon a pattern

I have string like this:     "Common-edi_rack_2.1-DEV" I want to split it into the following two stringsCommon-edi_rack2.1-DEVI want to be able to split on the last occurrence of an "_" and not on an...

View Article

Out-File only list last entry in file – Why

All, I am trying to get the output file to list all the computers I am running queries against.  The script below works but when run against multiple servers only the last server queried is listed in...

View Article


Powershell Remoting from Server 2012 to Server 2003 SP2 Box Does not work.

I've read at least 30 different "help" articles and I've tried every single suggestion and I still can't make this work!  Of all places I figured that here on PowerShell.com someone might have a...

View Article

change the priority of network to wired over wireless ?

On Windows 7 clients I have to change the metric of the wired network connection to a lower metric than the wireless so traffic is prioritized over the wired connection.  Is there a way to do this...

View Article

Building Excel Spreadsheet - From Inside Powershell Script

Greetings,Let me preface this post by stating I am a noob to powershell.  I am still in the very beginning phases of learning.  Thus far I have been able to pull down scripts, piece them together, and...

View Article
Browsing all 6937 articles
Browse latest View live