export const frontMatter = {
'external help file': 'Keldor-help.xml',
'Module Name': 'Keldor',
'online version': 'https://docs.keldor.dev/powershell/keldor/Get-LockedOutLocation',
schema: '2.0.0'
};
export const contentTitle = 'Get-LockedOutLocation';
export {default as metadata} from '@site/.docusaurus/docusaurus-plugin-content-docs/powershell/site-docs-powershell-keldor-get-locked-out-location-md-dcf.json'
export const assets = {
};
import {Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs} from "react/jsx-runtime";
import {useMDXComponents as _provideComponents} from "@mdx-js/react";
export const toc = [{
"value": "SYNOPSIS",
"id": "synopsis",
"level": 2
}, {
"value": "SYNTAX",
"id": "syntax",
"level": 2
}, {
"value": "DESCRIPTION",
"id": "description",
"level": 2
}, {
"value": "EXAMPLES",
"id": "examples",
"level": 2
}, {
"value": "EXAMPLE 1",
"id": "example-1",
"level": 3
}, {
"value": "PARAMETERS",
"id": "parameters",
"level": 2
}, {
"value": "-Identity",
"id": "-identity",
"level": 3
}, {
"value": "CommonParameters",
"id": "commonparameters",
"level": 3
}, {
"value": "INPUTS",
"id": "inputs",
"level": 2
}, {
"value": "OUTPUTS",
"id": "outputs",
"level": 2
}, {
"value": "NOTES",
"id": "notes",
"level": 2
}, {
"value": "RELATED LINKS",
"id": "related-links",
"level": 2
}];
function _createMdxContent(props) {
const _components = {
a: "a",
code: "code",
h1: "h1",
h2: "h2",
h3: "h3",
header: "header",
p: "p",
pre: "pre",
..._provideComponents(),
...props.components
};
return _jsxs(_Fragment, {
children: [_jsx(_components.header, {
children: _jsx(_components.h1, {
id: "get-lockedoutlocation",
children: "Get-LockedOutLocation"
})
}), "\n", _jsx(_components.h2, {
id: "synopsis",
children: "SYNOPSIS"
}), "\n", _jsx(_components.p, {
children: "This function will locate the computer that processed a failed user logon attempt which caused the user account to become locked out."
}), "\n", _jsx(_components.h2, {
id: "syntax",
children: "SYNTAX"
}), "\n", _jsx(_components.pre, {
children: _jsx(_components.code, {
className: "language-powershell",
children: "Get-LockedOutLocation [-Identity] []\n"
})
}), "\n", _jsx(_components.h2, {
id: "description",
children: "DESCRIPTION"
}), "\n", _jsx(_components.p, {
children: "This function will locate the computer that processed a failed user logon attempt which caused the user account to become locked out.\nThe locked out location is found by querying the PDC Emulator for locked out events (4740).\nThe function will display the BadPasswordTime attribute on all of the domain controllers to add in further troubleshooting."
}), "\n", _jsx(_components.h2, {
id: "examples",
children: "EXAMPLES"
}), "\n", _jsx(_components.h3, {
id: "example-1",
children: "EXAMPLE 1"
}), "\n", _jsx(_components.pre, {
children: _jsx(_components.code, {
className: "language-powershell",
children: "Get-LockedOutLocation -Identity Joe.Davis\n"
})
}), "\n", _jsx(_components.p, {
children: "This example will find the locked out location for Joe Davis."
}), "\n", _jsx(_components.h2, {
id: "parameters",
children: "PARAMETERS"
}), "\n", _jsx(_components.h3, {
id: "-identity",
children: "-Identity"
}), "\n", _jsx(_components.p, {
children: "{{ Fill Identity Description }}"
}), "\n", _jsx(_components.pre, {
children: _jsx(_components.code, {
className: "language-yaml",
children: "Type: String\nParameter Sets: (All)\nAliases:\n\nRequired: True\nPosition: 1\nDefault value: None\nAccept pipeline input: False\nAccept wildcard characters: False\n"
})
}), "\n", _jsx(_components.h3, {
id: "commonparameters",
children: "CommonParameters"
}), "\n", _jsxs(_components.p, {
children: ["This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see ", _jsx(_components.a, {
href: "http://go.microsoft.com/fwlink/?LinkID=113216",
children: "about_CommonParameters"
}), "."]
}), "\n", _jsx(_components.h2, {
id: "inputs",
children: "INPUTS"
}), "\n", _jsx(_components.h2, {
id: "outputs",
children: "OUTPUTS"
}), "\n", _jsx(_components.h2, {
id: "notes",
children: "NOTES"
}), "\n", _jsx(_components.p, {
children: "This function is only compatible with an environment where the domain controller with the PDCe role to be running Windows Server 2008 SP2 and up.\nThe script is also dependent the ActiveDirectory PowerShell module, which requires the AD Web services to be running on at least one domain controller.\nAuthor:Jason Walker\nLast Modified: 3/20/2013"
}), "\n", _jsx(_components.h2, {
id: "related-links",
children: "RELATED LINKS"
})]
});
}
export default function MDXContent(props = {}) {
const {wrapper: MDXLayout} = {
..._provideComponents(),
...props.components
};
return MDXLayout ? _jsx(MDXLayout, {
...props,
children: _jsx(_createMdxContent, {
...props
})
}) : _createMdxContent(props);
}