< Back

Get-NonPSJob

Sat Jan 18, 2020 5:16 pm

NAME Get-NonPSJob



SYNOPSIS

Get employment objects from the Swedish employment service





SYNTAX

Get-NonPSJob [[-Category] <String>] [[-Region] <String>] [[-NumberOf] <String>] [<CommonParameters>]





DESCRIPTION

Build PowerShell objects from the Swedish employment service. This is a example module

that is used to demonstrate the use of PowerShell 5 and object based on classes.





PARAMETERS

-Category <String>

What type of Job you look for? (default is "Restaurant")



Required? false

Position? 1

Default value Restaurangbitr%C3%A4de

Accept pipeline input? false

Accept wildcard characters? false



-Region <String>

In what part of Sweden do you look for job? (default is 1=Stockholms L????n)



Id Name

-- ----

10 Blekinge l????n

20 Dalarnas l????n

9 Gotlands l????n

21 G????vleborgs l????n

13 Hallands l????n

23 J????mtlands l????n

6 J????nk????pings l????n

8 Kalmar l????n

7 Kronobergs l????n

25 Norrbottens l????n

12 Sk????ne l????n

1 Stockholms l????n

4 S????dermanlands l????n

3 Uppsala l????n

17 V????rmlands l????n

24 V????sterbottens l????n

22 V????sternorrlands l????n

19 V????stmanlands l????n

14 V????stra G????talands l????n

18 ?????rebro l????n

5 ?????sterg????tlands l????n

90 Ospecificerad arbetsort



Required? false

Position? 2

Default value 1

Accept pipeline input? false

Accept wildcard characters? false



-NumberOf <String>



Required? false

Position? 3

Default value 300

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-NonPsJob



List all employment objects









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-NonPsJob | ? {$_.Workplace -like "*McDon*"}



Gets all job that should come frome McDonalds.









-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Get-NonPSJob | ? {$_.Workplace -like "*McDo*" -and $_.Location -like "*stock*"}



Gets all job that should come frome McDonalds and location is Stockholm









-------------------------- EXAMPLE 4 --------------------------



PS C:\\>$Jobs = Get-NonPSJob | ? {$_.Workplace -like "*McDo*" -and $_.Location -like "*stock*"}



PS C:\\>$Jobs[0].ApplyForJob()



Demos that the Objects are built in PowerShell 5 Classes and use it????s own object methods.











RELATED LINKS

GitHub project http://GitHub.com/ulfvins/PowerShell/Modules/NonPSJob





CommonParameters : False

WorkflowCommonParameters : False

details : @{name=Get-Propeller; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Get-Propeller



ModuleName : NonPSJob

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Get-Propeller

Category : Function

Component :

Role :

Functionality :