-
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...
-
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 = ...
-
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...
-
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...
-
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,...
-
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...
-
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...
-
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...
-
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 '...
-
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"...