Debian Codegraph @

ansible_collections/microsoft/ad/plugins/modules/ou.ps1

raw
1 #!powershell
2
3 # Copyright: (c) 2023, Ansible Project
4 # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
5
6 #AnsibleRequires -CSharpUtil Ansible.Basic
7 #AnsibleRequires -PowerShell ..module_utils._ADObject
8
9 $setParams = @{
10 PropertyInfo = @(
11 [PSCustomObject]@{
12 Name = 'city'
13 Option = @{ type = 'str' }
14 Attribute = 'City'
15 }
16 [PSCustomObject]@{
17 Name = 'country'
18 Option = @{ type = 'str' }
19 Attribute = 'Country'
20 }
21 [PSCustomObject]@{
22 Name = 'managed_by'
23 Option = @{ type = 'str' }
24 Attribute = 'ManagedBy'
25 DNLookup = $true
26 }
27 [PSCustomObject]@{
28 Name = 'postal_code'
29 Option = @{ type = 'str' }
30 Attribute = 'PostalCode'
31 }
32 [PSCustomObject]@{
33 Name = 'state_province'
34 Option = @{ type = 'str' }
35 Attribute = 'State'
36 }
37 [PSCustomObject]@{
38 Name = 'street'
39 Option = @{ type = 'str' }
40 Attribute = 'StreetAddress'
41 }
42 )
43 ModuleNoun = 'ADOrganizationalUnit'
44 }
45 Invoke-AnsibleADObject @setParams