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

Format-Table confusion

Hi, I'm pretty new to PowerShell, but just when i though i had figured Format-Table out, this issue emerged.. I made some simple examples to illustrate my confusion, and I hope you understand what i...

View Article


The Windows PowerShell cmdlets you need to know

When Microsoft launched Windows Server 2012, one of the most talked about changes was the increased reliance on PowerShell scripting. With more than 2,300 cmdlets to pick from, Windows administrators...

View Article


get-service from multiple computers from the AD

Hi,Im back with another formating issue =/the code below selects all computers from a single OU, picks up their name and then tests the connection to them and searches for the VM ware tools service$VMs...

View Article

PowerShell Basics - Execution Policy and Code Signing Part 1

One will see in many places in Microsoft documentation and in several books out there that PowerShell has security system called Execution Policy, I personally do not agree this is a security measure...

View Article

PowerShell Basics–Recommendations when Importing Modules

In the last blog post we covered the basics of importing Modules and PSSnapins to extend the shell, this provides us great flexibility in terms of expandability but at the same time depending on how we...

View Article


RemotePS - File Access denied

Hi Exterps !The environement is Windows 2012 on Hyper-V only.What i try is: Open a remote PS Session and do Get-Child of a network drive[remoteserver]: PS C:\Temp> Get-Childitem...

View Article

Ebook V2 - Error in the chapter "Automatic" PowerShell Variables.

Hi, I read this chapter and I tried this command "Get-Childitem variable: | Sort-Object Name | Select-Object Name, Description -autosize -wrap".This command don't run because the options "-autosize"...

View Article

Problem with typed variables

  Hi,url of page : http: //powershell.com/cs/blogs/ebookv2/archive/2012/02/02/chapter-3-variables.aspx#examining-strongly-typed-variables  Examining Strongly Typed Variables. Once you assign a specific...

View Article


Running a command in separate powershell window

Hi does anyone knows the solution to this below problem.1. We want to run a command in different powershell window2. once after starting the instance, control to come back to the parent window.3. Like...

View Article


Intel® vPro™ Technology module for Windows* PowerShell Version 3.2.4

The Windows PowerShell command line shell and scripting language helps IT professionals achieve greater control and productivity. Using a new administrator focused scripting language and consistent...

View Article

Invoke-RunspaceJob - Parallel Foreach using powershell runspaces

Invoke-RunspaceJob asynchronously performs an operation for each item in a collection of input objects, creating powershell runspaces to perform operations.Execution time for active runspaces can be...

View Article

psconfiguration

I have created 2 configuration files, and registered both of them. The only difference between the files is I used -psversion in one and specified version 2. I used the same runas accounts and the same...

View Article

Newbie Scripter College Question need help please

If someone could just point me in the right direction as to how to write this script, I would greatly appreciate it.Q: Write a script using the switch statement to prompt the user for a favorite fruit....

View Article


script for AD

My final is to write a script for powershell to import all the users in the new network I just built. WE buillt 2 cities, 1 forest and he gave me a list of all the people in the company, he wants me to...

View Article

List all Shared Mailboxes and the Users / Groups who have access

Well, looks like I've stepped in it again. I am trying to run a command that will list all of the shared mailboxes in the Exchange Org, as well as, list anyone who has full mailbox rights access.  The...

View Article


PowerShell file size scanner

This article describes how to monitor the file size on a server with PowerShell.Read More

View Article

How to change give "Author" permissions to a mailbox in Exchange 2010

Here is my issue: We have a shared mailbox that two departments use.  let's call it "Inventory Request Mailbox".  I've created a outlook form that the users can fill out and then send.  This form is...

View Article


Need help on output

I have a script below to gather Driver Name and Version from a conputer list but can't seem to get the output format I wanted in either excel or html format belowDriverNamame                 Computer1...

View Article

Import data from Powershell to SQL Server

Hi everyone, Not sure of this is the easist way. But id like to get a list of all the Servers in AD into a table in SQL Server. I can get the list of servers from AD in powershell. But i cant find a...

View Article

Out-GridView column width

Is it possible to pre-set column width here, using the @{} constructor or whatever? I can get a Select-Object @{name=''; expression=''} | Out-Gridview to work but adding a width= fails.

View Article
Browsing all 8411 articles
Browse latest View live