Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "schemaVersion": "1.2",
- "description": "List information about the .NET Framework version. We recommend exporting results to an Amazon S3 bucket. Output can exceed the maximum.",
- "runtimeConfig": {
- "aws:runPowerShellScript": {
- "properties": [
- {
- "id": "0.aws:runPowerShellScript",
- "runCommand": [
- " Get-ChildItem –Path 'c:inetpub* -Recurse -Filter *.log' | Where-Object {($_.LastWriteTime -lt (Get-Date).AddDays(-15))} | Remove-Item"
- ]
- }
- ]
- }
- }
Add Comment
Please, Sign In to add comment