Browse Forum Posts by Tags

Showing related tags and posts for the Ask the Experts group. See all tags in the site
  • Trying to update the Web Page field if it doesn't contain a specific value

    My SharePoint guys would like my to update the value of everyones Web Page value in AD. That was simple enough to get working in my test OU. Then they remembered they had generic accounts set to have a value of "HideFromDir" to exclude them from various searches. I'm trying to include an...
    Posted to Ask Don and Jeff (Forum) by Jerame on 06-18-2012
    Filed under: Active Directory, Powershell
  • Problem passing OU variable to Get-ADUser

    I'm trying to update the web page field for my users. I only want to run the update on the OU's where my users are. If I run this against one OU it works: $Accounts = Get-ADUser -Filter * -SearchBase "OU=User OU 1,DC=MyDomain,DC=COM" -Properties SamAccountName,wWWHomePage $Users = ...
    Posted to Ask Don and Jeff (Forum) by Jerame on 06-20-2012
    Filed under: Active Directory, Powershell
  • Re: Remote Powershell - options to run commands?

    Don, So I've read a fair amount since this post and I bought your last book, but I'm looking at the new "lunches series", and I think I'm still a beginner, but do I need to know powershell 1 or 2 before ordering the powershell 3 book series? I've read about 20 contradicting...
    Posted to Ask Don and Jeff (Forum) by virtuallynothere on 06-21-2012
    Filed under: PS Remoting, Remote PowerShell, Powershell, Enter-PSSession
  • Call Exchange shell/cmdlets from Quest Shell - Proper method?

    Hello, I now know the best methods of remoting thanks to Don & the folks here. But I have to use the Quest shell as we utilize their Active Role solution and I need to write a script that runs when something is done to users accounts through that system. I know how to set it up and what commands...
    Posted to Ask Don and Jeff (Forum) by virtuallynothere on 06-28-2012
    Filed under: scripts, PS Remoting, Server 2008 R2, Remote PowerShell, Active Directory, Powershell
  • Re: Call Exchange shell/cmdlets from Quest Shell - Proper method?

    I tried to do that, but when I run the get-pssnapin - registered the exchange tools don't come back as registered. Then I've read it's not "supported" to add the snapin for the exchange tools in another shell aside from the exchange shell, so you should use a remote connection,...
    Posted to Ask Don and Jeff (Forum) by virtuallynothere on 06-29-2012
    Filed under: PS Remoting, Server 2008 R2, new-pssession, Remote PowerShell, Active Directory, Powershell
  • Re: Call Exchange shell/cmdlets from Quest Shell - Proper method?

    Thanks, so the tools are installed on the system I need to run this script from, and I got this to work, so is this not recommended either? c:\program files\Microsoft\Exchange\V14\bin\RemoteExchange.ps1 ; connect-ExchangeServer - Auto Is that OK or do I need to do the Remote session noted in your reply...
    Posted to Ask Don and Jeff (Forum) by virtuallynothere on 07-03-2012
    Filed under: scripts, PS Remoting, Server 2008 R2, new-pssession, Remote PowerShell, Active Directory, Powershell
  • Is it possible to use ConvertTo-HTML to create two-dimensional HTML tables in PowerShell?

    Hey all, first post here. I'm currently learning how to use PowerShell, and my manager wants me to collect say the state of a certain list of services on each Windows server we have. So if I run a Get-Process -name $listOfNames for each computer (Remote session or otherwise) cmdlet, I will Get separate...
    Posted to Ask Don and Jeff (Forum) by x10an14 on 07-04-2012
    Filed under: Powershell, ConvertTo-HTML, Two-dimensional HTML table
  • Bug? with Get-ChildItem, Test-Connection, and Junction Points

    SYNOPSIS When I run "gci $somePath -rec -for ", where the path contains junction points, and then "test-connection $someComputer", and finally the first command again, I get different results. DESCRIPTION I was trying to measure the total folder sizes of user profile folders on remote...
    Posted to Ask Don and Jeff (Forum) by rpscripter on 07-05-2012
    Filed under: Test-Connection, Powershell, symbolic link, get-childItem, junction point, reparse point
  • Adding a New Member in Expand Property

    Hi, When I run Get-Counter -ComputerName obiwan '\process(sqlservr*)\% processor time' -Continuous | select -ExpandProperty countersamples I am expanding the CounterSamples, and I need to add some columns in this array (countersamples). Today I am doing : Get-Counter -ComputerName obiwan '...
    Posted to PowerShell for Windows (Forum) by Laerte Junior on 07-07-2012
    Filed under: powershell
  • Powershell- Associate Mount Point to Physical Disk

    I need to be able to associate mount points (Get-WmiObject -Class Win32_MountPoint) with the physical drive on which it resides. Scenario: I have physical disks (SAN LUNs) mounted as folders on an E: drive (also a SAN LUN) of a server. I need to be able to, via a PowerShell script, associate the "folder"...
    Posted to Ask Don and Jeff (Forum) by dbisseg on 07-10-2012
    Filed under: scripts, WMI, Remote PowerShell, Powershell, Mount Point
Page 11 of 31 (301 items) « First ... < Previous 9 10 11 12 13 Next > ... Last »
Copyright 2012 PowerShell.com. All rights reserved.