I have an application that once used a Powershell script to control Detection method and now uses a Registry Entry. When I use Get-CMApplication it still shows the old Powershell Detection Script in 'SDMPackageXML' data. I have removed all Revision h... ...
Dear Community,I'm facing an issue trying to install Windows Docker, more specifically its containers feature, to a Windows 2016 server.I tried installing Docker using the following set of commands on Powershell ran as Admin:Install-Module DockerMsft... ...
This is what I have working so far but need to add in the section to get it to list files only with no folders. Can anyone help me with this part. I have pieced together a lot of things from articles that I read and added some of my own stuff, but ca... ...
I'm working with Powershell PNP and am stuck.I found where I can Add and remove columns in a content type via Add-PnpFieldsToContentType and Remove-PnpFieldsFromContentTypecommands.So how do I get a list of Fields In a Content Type??? This is really ... ...
HeyI am trying to create a Scheduled Task with Powershell. The checkbox Don't save Password (S4U) must be activated. The problem is that whenever I execute the commands the checkbox is not activated.The user install is in the Administrators group.The... ...
Hi All,I created a package in SSISfor executing Power shell Script for this i am using Execute Process Task. Package include password also which is sensitive Parameter.Everything work fine and it run successfully but when Package failed it give error... ...
I've got a script which I found online which I want to use to remove any items over 12 hours old from our print queue. To achieve this I have used WMI to grab the PrintJobs, and then tried to restrict them based on the time submitted. From then we ca... ...
Hi,I want to remove a list of users from all SP groups, however im getting the following errors for most of the cases:In some cases: Exception calling "RemoveUser" with "1" argument(s): ""On others: Exception calling "EnsureUser" with "1" argument(s)... ...
I'm running SharePoint 2013 on prem. I've ran into an issue where in I have a content type from my content type hub being pushed down to the libraries but one column in particular has to be manually set to a different term set within a term group.The... ...
This "MECM" Forum will be migrating to a new home on Microsoft Q&A!We've listened to your feedback on how we can enhance the forum experience. Microsoft Q&A allows us to add new functionality and enables easier access to all the technical resources m... ...
Hi all. Is there way to generate the AD report for a specific date using powershell. I want to see all the user details as on 17th Feb 2020. As we have already crossed 17th Feb can we expect the powershell to generate the report of all the Users that... ...
Hi all. Is there way to generate the AD report for a specific date using powershell. I want to see all the user details as on 17th Feb 2020. As we have already crossed 17th Feb can we expect the powershell to generate the report of all the Users that... ...
Thanks in advance!I have multiple domain in office 365. I wish to create a dynamic distro grp for each domain. It creates the group, but when I run the following 2 commands to ensure that all the employees have been place in the grp it return blank.N... ...
Need a command that will run an extract from a list of user accounts in AD, and tell us what OU they are in.Is this possible https://powershell.org/forums/topic/using-get-aduser-with-an-impor... ...
Need a command that will run an extract from a list of user accounts in AD, and tell us what OU they are in.Is this possible https://powershell.org/forums/topic/using-get-aduser-with-an-impor... ...
I have a runbook(System Center Orchestrator) designed for doing some tasks in specific AD accounts. Of many tasks , I am facing problem in three specific powershell scripts which are failing. The three scripts do the following tasks respectively:-Dis... ...
Here is my Script;------------------------------------------------------------------------------------------Clear-Host# Set the Environment Variables#-------------------------------------------------------------------------$COMPUTERNAME = Read-Host -... ...
Hello!When writing scripts I'm often using something like Write-Output "Some error occured ... the error was $Error[0].Exception". The problem is that I can't understand why the Write-Output cmdlet (at least I think so) returnes the $Error[0].Excepti... ...
Microsoft's Windows TerminalThis is going to be really cool. Check it out.\_(ツ)_/... ...
Dear All,I have written a PowerShell script which uses OperationsManager as the module. Few of the cmdlets are giving output but I am getting below error while running "Get-SCOMResourcePool".Get-SCOMResourcepool : The term 'Get-SCOMResourcepool' is n... ...