|
More site info...
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.
|
|
|
|
|
Posting activity table on Discussions in microsoft.public.windows.powershell:
|
|
Week
|
Month
|
3 Months
|
|
Threads:
|
29
|
113
|
322
|
|
Post:
|
55
|
232
|
676
|
|
|
Authority Badge:
|
|
|
BoardReader Authority Badge code for Discussions in microsoft.public.windows.powershell (http://www.microsoft.com/communities/newsgroups...)
|
|
Put this code anywhere on your forum page:
|
|
|
|
|
|
|
|
Rating - The position measured by activity among all forum sites tracked by BoardReader.
If rating is 10 there are 9 forum sites which have higher activity.
Posts - Number of posts on forum site during last 7 days.
Threads - Number of threads on forum site active during last 7 days.
Authors - Number of authors which contributed to the site within last 7 days.
|
|
|
|
|
Discussions in microsoft.public.windows.powershell posting activity graph:
|
|
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:
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...
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 .
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...
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 >>>...
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...
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...
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...
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...
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:
|
|
Top 10 forums on Discussions in microsoft.public.windows.powershell:
|
|
|
|
Latest active threads on 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...
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. ...
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 ...
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
> }
> }
>
...
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 ...
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
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/...
|
|
Hot threads for last week on Discussions in 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)){
...
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 ...
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...
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.
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 ...
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...
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....
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
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/...
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...
|
|