PoshCode Deki Wiki

Page last modified 03:11, 14 May 2009 by Jaykul | Page History
Table of contents
No headers

Welcome to the new PoshCode wiki, brought to you by the folks behind the PoshCode script repository.  We're working on some exciting new things, and thought we'd kick things off by setting up a wiki which will be fair game for any PowerShell related content. Deki Wiki is exciting because it has a great API which is accessible from PowerShell (we've already published the first set of scripts for working with it), and is really user-friendly, with a great WYSIWYG editing interface and everything.

We've already started importing the help for PowerShell Cmdlets using scripts, so please sign up and start pitching in!

Some resources you may find useful:


Retrieved from "http://wiki.poshcode.org/"

Tag page
Page statistics
18073 view(s), 4 edit(s), and 1533 character(s)

Comments

Viewing 5 of 5 comments: view all
Sorry but I don't understand where I'm supposed to be submitting suggestions for the Powershell FAQ. This is what I'd like to add

================
With 64bit Windows being more the norm and 32 bit applications likely to be here for a very long time its very important to understand exactly which side of the OS your script is running in.

The main reasons I can think of is

1) The DLL whether it be a COM component, .NET assembly or native code must match the address space of the process

2) Starting with Vista the Registry is divided into a 32 and 64 bit section (this will need more work) For a 32 bit COM component for instance this will be registred in the HKCR\Wow6432Node node.

3) Similarly to for Powershell. Try this in both a 32 and 64 bit shell

Get-ItemProperty HKLM:\software\Microsoft\Powershell\1\ShellIds\Microsoft.PowerShell\

Both 32 and 64 bit executables see a different view of the world. This will apply in general to both types of processes.

So for you to determine for instnace whether to look aty System32, SysWOW64, Program Files, Program Files (x86) requires you to know both whether this is a 32 or 64 bit OS as well as what shell or process you are running in.

To detect whether you are running in 32-bit environment (on x86 machine or in WOW64 process):

[intptr]::size -eq 4

To detect whether you are running on x64 machine but in 32-bit process in WOW64:

([intptr]::size -eq 4) -and (test-path env:\PROCESSOR_ARCHITEW6432)
Posted 03:15, 26 Aug 2009
I've copied robert's point into the FAQ - although it's hard to place since there's no question, per-se ... (can we delete the comment now?)

Actually, I guess we should put it under "How do I ... detect a 64 bit machine"
Posted 21:53, 26 Aug 2009
Sorry but I guess you'll need to delete this. But I don't know how else to ask these questions.

1) If I where to add a "comment" to in the link above FAQ would this have put the information in the location? Other than adding a comment to a section I don't see how one is able to add a topic to the FAQ.

2) Some parts of what I said didn't make it into the FAQ when you moved it. To be specific all of the code one would add to the script is missing i.e. click on

/content/body/div/pre[1]/@function, reference to undefined name 'syntax': line 1, column 1 (click for details)


I suspect that we need some instructions on how to use this correctly because I'm assuming you have other things to do than move posts from one spot to another.
Posted 03:46, 28 Aug 2009
Would this be a good place for my Powershell Excel cookbook? If so How would I add it?
Posted 14:24, 6 Sep 2009
We'd love to have your cookbook, you'd want to create an "Excel" sub-page of the Applications page and start in there, I think. http://wiki.poshcode.org/Applications edited 23:03, 15 Nov 2009
Posted 23:02, 15 Nov 2009
Viewing 5 of 5 comments: view all
You must login to post a comment.

Attach file

Attachments