Comments (6)
So, DSC is used for monitoring the state of a machine and changing the configuration of the machine if necessary. Since there isn't really a way to monitor renaming a user this doesn't sound like a DSC scenario, but correct me if you have further implementation ideas on this in which this would fit for DSC.
from psdscresources.
For security purposes I used to lock and rename the local default Administrator and guest account on windows servers. Of course you can do it also with a script that is executed by DSC but that's not the kind of DSC flair. Either you do it all by DSC or you don't.
I thought of doing it like renaming an interface, like on the xNetworking module here.
from psdscresources.
I don't think it's necessary to implement this into this module, I did it with the script resource. Thank you.
from psdscresources.
Hello, I would like to request this exact same thing. Should I make a whole new issue and add my use case there or do I re-open this issue with my use case?
from psdscresources.
Hey @gaelicWizard, this as Mariah answered in 2017, this does not sound like a valid "Desired State" scenario. It sounds more like a "Transform"... It would probably best that you join the community on Slack/discord to discuss your scenario and benefit from the collective experience.
This specific resource module (PsDscResources
) would not be the right place for such change anyway, as the only goal is to replace like for like the built-in DSC resources with security and bug fixes (no new feature as this issue suggests).
A better place would be xPsDesiredStateConfiguration
which is more advanved than this resource module.
from psdscresources.
Thanks! I didn't think about PsDscResources vs xPsDesiredStateConfiguration. I definitely mean to go there
from psdscresources.
Related Issues (20)
- setGroup: Error when I try to exclude a user from Users builtin group HOT 3
- Package missing build number in version Metadata HOT 2
- Set-StrictMode behavior breaks valid Configurations from (x)PSDesiredStateConfiguration HOT 3
- PsDscRunAsCredential with empty password throws error "Object reference not set to an instance of an object."
- Script Resource "No user exists"
- WindowsOptionalFeature: Get Method fails if OptionalFeature has no custom properties when called by the LCM.
- Archive: Special Characters not supported in file names within zip files
- WindowsFeatureSet broken when using member Source HOT 3
- Environment: Implement 'User' target HOT 1
- File: Default checksum type not documented
- Service: Invoke-DscResource fail to update a service HOT 3
- Fix CI Pipeline Failures
- Registry: Set "Absent" with ValueData fails if Key uses "HKEY_LOCAL_MACHINE\..." HOT 1
- Registry: add option to require reboot after setting
- User: Test-DscResource fails for user that is disabled by resource
- Archive: DSC resouce does not support paths longer than 260
- MSFT_GroupResource: SAMR can be blocked by domain controller GPO in Get-TargetResource HOT 1
- Group: Get-TargetResource throws with single member in group due to Type mismatch HOT 2
- WindowsFeature: Resource thinks Windows Server 2022 Azure Edition Core is a Client OS HOT 1
- WindowsProcess DSC resource fails intermittently with "Failed to wait for processes to start." HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from psdscresources.