Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Discussions in microsoft.public.windows.powershell - www.microsoft.com/communities/newsgroups... | Site profile

Site profile page for http://www.microsoft.com/communities/newsgroups.... This report page has aggregated and summarized the online discussions from the Message Board located at http://www.microsoft.com/communities/newsgroups.... This site profile page outlines general site statistics such as: Users Activity, Site Activity, Site Rank, and Top Authors, which are reported in either a table or graph below for a given reporting time period. Additional site profile information for http://www.microsoft.com/communities/newsgroups... is also shown in the following divisions:

1) Top 10 Active Forums during Last Week
2) Top 10 Site Forums
3) Latest Active Threads
4) Hot Threads for Last Week

Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a site's popularity and/or exact posting volumes at any given reporting period.

Title: Discussions in microsoft.public.windows.powershell - http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?dg=microsoft.public.windows.powershell Discussions in microsoft.public.windows.powershell
Url: http://www.microsoft.com/communities/newsgroups...
Users activity: 2 posts per thread
site activity: 29 active threads during last week
Site rank: 17,225 (go to rank page)
Domain info for: microsoft.com
 

Posting activity table on Discussions in microsoft.public.windows.powershell:

  Week Month 3 Months
Threads: 29 113 322
Post: 55 232 676
 

Authority Badge:

Discussions in microsoft.public.windows.powershell | Forum Authority Badge

Discussions in microsoft.public.windows.powershell posting activity graph:

Posts by:  day  week  month 
 

http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?dg=microsoft.public.windows.powershell Alexa graph:

Top authors on Discussions in microsoft.public.windows.powershell during last week:

Name
Posts
Robert Robelo
7
user's latest post:
-f format operator and...
Published (2009-12-11 14:37:00)
  Yes and no. It should be but it's not :) # .NET String's Format Method String.Format(<String>, <Object[]>) http://msdn.microsoft.com/en-us/library/b1csw23d.aspx # PowerShell's -f operator <String> -f <Object[]> They're both based on Composite Formatting. http://msdn.microsoft.com/en-us/library/txafckwd.aspx The odd behavior is constant in String's...
Larry__Weiss
6
user's latest post:
-f format operator and...
Published (2009-12-11 09:52:00)
  According to my reading of my copy of Bruce Payette's book "PowerShell in Action" "{0}" -f $a is equivalent to [string]::Format('{0}',$a) Is this actually true in all cases? - Larry .  
Marco Shaw [MVP]
6
user's latest post:
gwmi and powershell to get group...
Published (2009-12-12 07:32:00)
  > $server = Import-Csv C:\Tools\machines.csv > $server | ForEach-Object { > $serial = (gwmi win32_Computersystemproduct -computer $server | select > identifyingnumber) > Write-Host $server > Write-Host $serial.identifyingnumber > } > > the machines.csv is a csv file with one machine per line. It doesn't > appear > to be working though. Any...
Karl Mitschke
4
user's latest post:
Set-Clipboard doesn't like...
Published (2009-12-10 08:02:00)
  Hello Karl, > Hello Larry__Weiss, > >> Karl Mitschke wrote: >> >>>> Larry__Weiss wrote: >>>> >>>>> Where do you get the cmdlet named Set-Clipboard ? >>>>> >>> It's in the the standard V2 I have on Server 2008 R2 >>>...
MarceepooNu
3
user's latest post:
Revised ques re {set-clipboard}...
Published (2009-12-09 14:26:00)
  Can anyone point me in the right direction where I could learn how I could include a blank in a string that I paste to the clipboard using {set-clipboard}? I can paste the word "now" to the windows clipboard, by opening a cmd prompt, and running the following code, using {set-clipboard}: C:\Users\marxp>C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Sta "& {set-clipboard...
Martin Zugec
3
user's latest post:
-Replace with "$" in...
Published (2009-12-10 05:07:00)
  As soon as I posted it, I realized why it doesn't work - it's regex after all :) -Replace "share\$", "x" Martin "Martin Zugec" <martin.zugec@gmail.com> wrote in message news:eqQlbSZeKHA.4952@TK2MSFTNGP06.phx.gbl... > Hi gents, > > today I run into following problem - one of strings that I am manipulating > with contains...
unknown
3
user's latest post:
Set-Clipboard doesn't like...
Published (2009-12-10 07:03:00)
   
PaulChavez
2
user's latest post:
SSL Certificates in...
Published (2009-12-08 20:34:00)
  If the certificates are in the local store you can just browse them like this: ls cert:\LocalMachine\My | Format-Table NotAfter, Subject If you have a directory here's a script to load the certs in the pipeline: function Load-Certificate { BEGIN { $certs = @() } PROCESS { $cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2 $cert.Import($_.FullName) $certs += $cert } END { $certs } } You can use it...
RG
2
user's latest post:
gwmi and powershell to get group...
Published (2009-12-11 22:09:00)
  I'm trying to write a simple script to get the serial number of a bunch of machines. I'm new to writing scripts. Here is what I was trying to do: $server = Import-Csv C:\Tools\machines.csv $server | ForEach-Object { $serial = (gwmi win32_Computersystemproduct -computer $server | select identifyingnumber) Write-Host $server Write-Host $serial.identifyingnumber } the machines.csv is a csv file with one machine per line. It...
PedroCesar
2
user's latest post:
Enable script in powershell with...
Published (2009-12-13 05:27:00)
  Resolved. Thank you very much, friend. On Dec 12, 11:40?am, "Marco Shaw [MVP]" <marco.shaw@NO_SPAMgmail.com> wrote: > What do you run as AD servers and on what systems would you want to set > this? > > Check this: http://www.microsoft.com/downloads/details.aspx?FamilyID=2917a564-dbb ... > > Marco > > "PedroCesar"...
 

Top 10 active forums on Discussions in microsoft.public.windows.powershell during last week:

microsoft.public.windows.powershell - 68 new posts microsoft.public.windows.powershell - forum profile
 

Top 10 forums on Discussions in microsoft.public.windows.powershell:

microsoft.public.windows.powershell - 10,048 posts microsoft.public.windows.powershell - forum profile

Latest active threads on Discussions in microsoft.public.windows.powershell:

Discussions in microsoft.public.windows.powershell
Started 1 day, 4 hours ago (2009-12-14 08:37:00)  by Marco Shaw [MVP]
This might help: PS>help about_Windows_PowerShell_2.0 Marco "radski" <radski@discussions.microsoft.com> wrote in message news:B42EDAAF-F3EE-4858-8722-AAEAB6715BDD@micros oft.com... > Hi all, > > just wondering whether there is a list of new features for v2. Ideally > something more verbose than > http...
Forum:  microsoft.public.windows.powershell microsoft.public.windows.powershell - forum profile
Thread:  Show this thread (3 posts) Thread info: Powershell 2 new features - where to go for a list? in
microsoft.public.windows.powershell Size: 1,179 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Powershell 2 new features - where to go for a list? in
microsoft.public.windows.powershell :: microsoft.public.windows.powershell :: Discussions in microsoft.public.windows.powershell"
Discussions in microsoft.public.windows.powershell
Started 1 day, 4 hours ago (2009-12-14 08:42:00)  by Marco Shaw [MVP]
> When I use the above classes with get-wmiobject I can get values on > mentioned above properties, but it does not tell you much, you want to get > a sample of values, such as get a average value over a period of time such > as 1 hour. How can I combine the above in a script which will give me the > average values I am looking for. ...
Forum:  microsoft.public.windows.powershell microsoft.public.windows.powershell - forum profile
Thread:  Show this thread (2 posts) Thread info: Powershell script for measuring performance of servers over time in
microsoft.public.windows.powershell Size: 1,488 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Powershell script for measuring performance of servers over time in
microsoft.public.windows.powershell :: microsoft.public.windows.powershell :: Discussions in microsoft.public.windows.powershell"
Discussions in microsoft.public.windows.powershell
Started 1 day, 5 hours ago (2009-12-14 08:25:00)  by yoke88
try using -computername param of get-eventlog cmdlet "j0seg" <j0seg@discussions.microsoft.com> 写入消息 news:DA6CE354-AE6F-439D-B6F5-0B92C2CC1C3B@microso ft.com... > Hi, all, I'm still trying to grasp how to code in powershell to send me a > csv > report from the servers I have listed the newest 50 error Events and for > some > reason I ...
Forum:  microsoft.public.windows.powershell microsoft.public.windows.powershell - forum profile
Thread:  Show this thread (2 posts) Thread info: multi-server Event Log reports in microsoft.public.windows.powershell Size: 2,045 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: multi-server Event Log reports in microsoft.public.windows.powershell :: microsoft.public.windows.powershell :: Discussions in microsoft.public.windows.powershell"
Discussions in microsoft.public.windows.powershell
Started 1 day, 5 hours ago (2009-12-14 08:02:00)  by Larry__Weiss
Yes, break placed there will terminate the script. see http://dmitrysotnikov.wordpress.com/2007/08/31/bre ak-not-working-in-foreach/ - Larry yoke88 wrote: > hey,guys > look at the code below: > > 1..100|%{ > if ($_ -eq 50){ > $_ > break > } > } > ...
Forum:  microsoft.public.windows.powershell microsoft.public.windows.powershell - forum profile
Thread:  Show this thread (3 posts) Thread info: "break" in Powershell v2  not work ? in
microsoft.public.windows.powershell Size: 1,135 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: "break" in Powershell v2  not work ? in
microsoft.public.windows.powershell :: microsoft.public.windows.powershell :: Discussions in microsoft.public.windows.powershell"
Discussions in microsoft.public.windows.powershell
Started 1 day, 9 hours ago (2009-12-14 03:47:00)  by guv
Thanks for your script. What I wanted to find out is how you combined all the properties of all the wmi objects like the win32_computersystem, win32_logicaldisk, win32_operatingsystem object properties into one output and I see you first create a new object ($serverobj), and then add properties to these, by choosing some of ...
Forum:  microsoft.public.windows.powershell microsoft.public.windows.powershell - forum profile
Thread:  Show this thread (3 posts) Thread info: Script to audit windows 2003 servers in microsoft.public.windows.powershell Size: 11 kb
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Script to audit windows 2003 servers in microsoft.public.windows.powershell :: microsoft.public.windows.powershell :: Discussions in microsoft.public.windows.powershell"
Discussions in microsoft.public.windows.powershell
Started 1 day, 13 hours ago (2009-12-14 00:02:00)  by Vadims Podans [MVP]
run this command in console: C:\Windows\System32\wbem\MOFComp CIMWIN32.MOF
Forum:  microsoft.public.windows.powershell microsoft.public.windows.powershell - forum profile
Thread:  Show this thread (3 posts) Thread info: Urgent,  Win32_Share is missing in microsoft.public.windows.powershell Size: 282 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Urgent,  Win32_Share is missing in microsoft.public.windows.powershell :: microsoft.public.windows.powershell :: Discussions in microsoft.public.windows.powershell"
Discussions in microsoft.public.windows.powershell
Started 2 days, 2 hours ago (2009-12-13 10:57:00)  by Tome Tanasovski
I don't know about two different files, but you can redirect stderr to stdout with 2>&1 i.e. .\script.ps1 > output.txt 2>&1 You can also write everything using start-transcript stop-transcript. There's also this suggestion opened to get control of all streams within Powershell: https://connect.microsoft.com/...
Forum:  microsoft.public.windows.powershell microsoft.public.windows.powershell - forum profile
Thread:  Show this thread (3 posts) Thread info: Redirection 1>StdOut.txt 2>StdErr.txt in
microsoft.public.windows.powershell Size: 2,445 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Redirection 1>StdOut.txt 2>StdErr.txt in
microsoft.public.windows.powershell :: microsoft.public.windows.powershell :: Discussions in microsoft.public.windows.powershell"
 

Hot threads for last week on Discussions in microsoft.public.windows.powershell:

microsoft.public.windows.powershell
Started 5 days, 18 hours ago (2009-12-09 19:19:00)  by Marco Shaw [MVP]
> Suggestions would be appreciated. Something like this maybe below... Now, oddly, I can't get new-item to remain silent... I'm confused and/or missing something obvious. function ise2 { [CmdletBinding()] Param( [string]$file ) if($file){ if(!(test-path $file)){ ...
Forum:  microsoft.public.windows.powershell microsoft.public.windows.powershell - forum profile
Thread:  Show this thread (5 posts) Thread info: Running ISE to create a new file in microsoft.public.windows.powershell Size: 976 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Running ISE to create a new file in microsoft.public.windows.powershell :: microsoft.public.windows.powershell :: Discussions in microsoft.public.windows.powershell"
microsoft.public.windows.powershell
Started 5 days, 5 hours ago (2009-12-10 07:37:00)  by Karl Mitschke
Hello Larry__Weiss, > Karl Mitschke wrote: > >>> Larry__Weiss wrote: >>> >>>> Where do you get the cmdlet named Set-Clipboard ? >>>> >> It's in the the standard V2 I have on Server 2008 R2 >> > I'm still running V2 CTP 3 on XP. > How can I replace that with V2 RTM ? > Do I uninstall the V2 CTP 3 ...
Forum:  microsoft.public.windows.powershell microsoft.public.windows.powershell - forum profile
Thread:  Show this thread (5 posts) Thread info: Set-Clipboard doesn't like whitespaces? in
microsoft.public.windows.powershell Size: 1,104 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Set-Clipboard doesn't like whitespaces? in
microsoft.public.windows.powershell :: microsoft.public.windows.powershell :: Discussions in microsoft.public.windows.powershell"
microsoft.public.windows.powershell
Started 5 days, 18 hours ago (2009-12-09 19:12:00)  by Karl Mitschke
Hello Larry__Weiss, > How can I write a PowerShell script to find out what processes have a > file opened? > > And can a script be written to forceably close out access to any > process found to have a file open? (with a consequence sort of like > losing network connectivity to an open remote file). > > - Larry...
Forum:  microsoft.public.windows.powershell microsoft.public.windows.powershell - forum profile
Thread:  Show this thread (3 posts) Thread info: find out what processes have a file opened in
microsoft.public.windows.powershell Size: 1,931 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: find out what processes have a file opened in
microsoft.public.windows.powershell :: microsoft.public.windows.powershell :: Discussions in microsoft.public.windows.powershell"
microsoft.public.windows.powershell
Started 5 days, 3 hours ago (2009-12-10 09:38:00)  by Robert Robelo
PowerShell v2 has a WindowStyle parameter: -WindowStyle Sets the window style to Normal, Minimized, Maximized or Hidden.
Forum:  microsoft.public.windows.powershell microsoft.public.windows.powershell - forum profile
Thread:  Show this thread (3 posts) Thread info: Don't show powershell in taskbar in microsoft.public.windows.powershell Size: 359 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Don't show powershell in taskbar in microsoft.public.windows.powershell :: microsoft.public.windows.powershell :: Discussions in microsoft.public.windows.powershell"
microsoft.public.windows.powershell
Started 5 days, 8 hours ago (2009-12-10 05:07:00)  by Martin Zugec
Hi gents, today I run into following problem - one of strings that I am manipulating with contains "$" character. This can happen easily - it is UNC path with hidden share: "\\server\share$" -Replace is not able to handle it: "\\server\share$" -Replace "share$", "x" System.String method Replace works fine ...
Forum:  microsoft.public.windows.powershell microsoft.public.windows.powershell - forum profile
Thread:  Show this thread (3 posts) Thread info: -Replace with "$" in microsoft.public.windows.powershell Size: 927 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "-Replace with "$" in microsoft.public.windows.powershell :: microsoft.public.windows.powershell :: Discussions in microsoft.public.windows.powershell"
microsoft.public.windows.powershell
Started 5 days, 4 hours ago (2009-12-10 09:14:00)  by Robert Robelo
Try this: # this function needs a name :) function f1 ([String]$Property, [switch]$Descending) { $input | Sort-Object {[Single]$_.$Property} -Descending:$Descending | Select-Object -First 5 | ForEach-Object {$_.Company} } $col = $import | f1 Ind_A -Descending $col += $import | f1 Ind_B $col += $import | f1 Ind_C $col...
Forum:  microsoft.public.windows.powershell microsoft.public.windows.powershell - forum profile
Thread:  Show this thread (3 posts) Thread info: Comparing Multiple Rows Across Multiple Columns from Imported CSV in
microsoft.public.windows.powershell Size: 958 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Comparing Multiple Rows Across Multiple Columns from Imported CSV in
microsoft.public.windows.powershell :: microsoft.public.windows.powershell :: Discussions in microsoft.public.windows.powershell"
microsoft.public.windows.powershell
Started 3 days, 6 hours ago (2009-12-12 07:17:00)  by Marco Shaw [MVP]
What do you run as AD servers and on what systems would you want to set this? Check this: http://www.microsoft.com/downloads/details.aspx?Fa milyID=2917a564-dbbc-4da7-82c8-fe08b3ef4e6d&displa ylang=en Marco "PedroCesar" <tecdom@gmail.com> wrote in message news:dfa4965d-f3b4-442f-bf33-e94927517eff@r5g200 0yqb....
Forum:  microsoft.public.windows.powershell microsoft.public.windows.powershell - forum profile
Thread:  Show this thread (3 posts) Thread info: Enable script in powershell with GPO in microsoft.public.windows.powershell Size: 1,296 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Enable script in powershell with GPO in microsoft.public.windows.powershell :: microsoft.public.windows.powershell :: Discussions in microsoft.public.windows.powershell"
microsoft.public.windows.powershell
Started 1 day, 13 hours ago (2009-12-14 00:02:00)  by Vadims Podans [MVP]
run this command in console: C:\Windows\System32\wbem\MOFComp CIMWIN32.MOF
Forum:  microsoft.public.windows.powershell microsoft.public.windows.powershell - forum profile
Thread:  Show this thread (3 posts) Thread info: Urgent,  Win32_Share is missing in microsoft.public.windows.powershell Size: 282 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Urgent,  Win32_Share is missing in microsoft.public.windows.powershell :: microsoft.public.windows.powershell :: Discussions in microsoft.public.windows.powershell"
microsoft.public.windows.powershell
Started 2 days, 2 hours ago (2009-12-13 10:57:00)  by Tome Tanasovski
I don't know about two different files, but you can redirect stderr to stdout with 2>&1 i.e. .\script.ps1 > output.txt 2>&1 You can also write everything using start-transcript stop-transcript. There's also this suggestion opened to get control of all streams within Powershell: https://connect.microsoft.com/...
Forum:  microsoft.public.windows.powershell microsoft.public.windows.powershell - forum profile
Thread:  Show this thread (3 posts) Thread info: Redirection 1>StdOut.txt 2>StdErr.txt in
microsoft.public.windows.powershell Size: 2,445 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Redirection 1>StdOut.txt 2>StdErr.txt in
microsoft.public.windows.powershell :: microsoft.public.windows.powershell :: Discussions in microsoft.public.windows.powershell"
microsoft.public.windows.powershell
Started 1 day, 4 hours ago (2009-12-14 08:37:00)  by Marco Shaw [MVP]
This might help: PS>help about_Windows_PowerShell_2.0 Marco "radski" <radski@discussions.microsoft.com> wrote in message news:B42EDAAF-F3EE-4858-8722-AAEAB6715BDD@micros oft.com... > Hi all, > > just wondering whether there is a list of new features for v2. Ideally > something more verbose than > http...
Forum:  microsoft.public.windows.powershell microsoft.public.windows.powershell - forum profile
Thread:  Show this thread (3 posts) Thread info: Powershell 2 new features - where to go for a list? in
microsoft.public.windows.powershell Size: 1,179 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Powershell 2 new features - where to go for a list? in
microsoft.public.windows.powershell :: microsoft.public.windows.powershell :: Discussions in microsoft.public.windows.powershell"