Example #1
0
        public Command BuildCommand()
        {
            var command = new Command("item");
            var builder = new ManagedDeviceItemRequestBuilder(PathParameters, RequestAdapter);

            command.AddCommand(builder.BuildBypassActivationLockCommand());
            command.AddCommand(builder.BuildCleanWindowsDeviceCommand());
            command.AddCommand(builder.BuildDeleteCommand());
            command.AddCommand(builder.BuildDeleteUserFromSharedAppleDeviceCommand());
            command.AddCommand(builder.BuildDeviceCategoryCommand());
            command.AddCommand(builder.BuildDeviceCompliancePolicyStatesCommand());
            command.AddCommand(builder.BuildDeviceConfigurationStatesCommand());
            command.AddCommand(builder.BuildDisableLostModeCommand());
            command.AddCommand(builder.BuildGetCommand());
            command.AddCommand(builder.BuildLocateDeviceCommand());
            command.AddCommand(builder.BuildLogoutSharedAppleDeviceActiveUserCommand());
            command.AddCommand(builder.BuildPatchCommand());
            command.AddCommand(builder.BuildRebootNowCommand());
            command.AddCommand(builder.BuildRecoverPasscodeCommand());
            command.AddCommand(builder.BuildRemoteLockCommand());
            command.AddCommand(builder.BuildRequestRemoteAssistanceCommand());
            command.AddCommand(builder.BuildResetPasscodeCommand());
            command.AddCommand(builder.BuildRetireCommand());
            command.AddCommand(builder.BuildShutDownCommand());
            command.AddCommand(builder.BuildSyncDeviceCommand());
            command.AddCommand(builder.BuildUpdateWindowsDeviceAccountCommand());
            command.AddCommand(builder.BuildWindowsDefenderScanCommand());
            command.AddCommand(builder.BuildWindowsDefenderUpdateSignaturesCommand());
            command.AddCommand(builder.BuildWipeCommand());
            return(command);
        }
Example #2
0
        public Command BuildCommand()
        {
            var command = new Command("item");
            var builder = new ManagedDeviceItemRequestBuilder(PathParameters, RequestAdapter);

            command.AddCommand(builder.BuildGetCommand());
            return(command);
        }