Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get started #1

Open
Wizek opened this issue Oct 29, 2012 · 2 comments
Open

Can't get started #1

Wizek opened this issue Oct 29, 2012 · 2 comments

Comments

@Wizek
Copy link

Wizek commented Oct 29, 2012

I wanted to try your script, but it gave me this error.
I was following your instructions in the readme step by step.

The '++' operator works only on variables or on properties.
At C:\Users\Wizek-LT\Documents\WindowsPowerShell\Modules\z\z.psm1:101 char:6
+             ++ <<<< [Int64]$item.Frequency
    + CategoryInfo          : ParserError: (++:String) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : OperatorRequiresVariableOrProperty

Import-Module : The module to process 'z.psm1', listed in field 'ModuleToProcess' of module manifest 'C:\Users\Wizek-LT\Documents\WindowsPowerShell\Modules\z\z.psd1' was not processed because no valid module was found in any module directory.
At C:\Users\Wizek-LT\Documents\WindowsPowerShell\profile.ps1:4 char:14
+ Import-Module <<<<  z
    + CategoryInfo          : ResourceUnavailable: (z:String) [Import-Module], FileNotFoundException
    + FullyQualifiedErrorId : Modules_ModuleFileNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
@JannesMeyer
Copy link
Owner

Sorry, that I didn't have a chance to reply yet. I live in the New York area right now and there was this stormy bitch named Sandy in the last few days. I still have electricity, luckily :-)

Could you tell me which version of PowerShell you have installed? You can find out by typing $Host.Version into your PowerShell console.

@Wizek
Copy link
Author

Wizek commented Oct 31, 2012

It's okay. Here it is:

Major  Minor  Build  Revision
-----  -----  -----  --------
2      0      -1     -1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants